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
 
@@ -47,7 +47,8 @@ elseif (!empty($_REQUEST['e']))
 
     * 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())) . ';
0 comments (0 inline, 0 general)