Changeset - 449e74b14420
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2011-03-28 22:56:56
ohnobinki@ohnopublishing.net
Fix invalid attempt to read parent_schedule_id when there is no parent_schedule_id upon clicking `Fix errors' button.
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
input.php
Show inline comments
 
@@ -44,13 +44,14 @@ elseif (!empty($_REQUEST['e']))
 
    /*
 
     * Read an errorful schedule out of $_POST, this $_POST is created
 
     * by process.php when the originally sinful user produces bad
 
     * data.
 
     */
 
    $errors_fix = TRUE;
 
    $parent_schedule_id = (int)$_POST['postData']['parent_schedule_id'];
 
    if (!empty($_POST['postData']['parent_schedule_id']))
 
      $parent_schedule_id = (int)$_POST['postData']['parent_schedule_id'];
 
  }
 

	
 
$my_hc = 'var slate_permutate_example_course_id = ' . json_encode(school_example_course_id($inputPage->get_school())) . ';
 

	
 
jQuery(document).ready(
 
  function()
0 comments (0 inline, 0 general)