Minor - fixing warnings.

1.9.x
Julio Montoya 11 years ago
parent 1204e13d2a
commit 12eb9c3b0c
  1. 6
      main/course_info/infocours.php

@ -427,6 +427,7 @@ if ($form->validate() && is_settings_editable()) {
'legal',
'activate_legal'
);
foreach ($updateValues as $index =>$value) {
$updateValues[$index] = Database::escape_string($value);
}
@ -458,11 +459,12 @@ if ($form->validate() && is_settings_editable()) {
);
}
$appPlugin->saveCourseSettingsHook($update_values);
$appPlugin->saveCourseSettingsHook($updateValues);
$cidReset = true;
$cidReq = $course_code;
require '../inc/local.inc.php';
header('Location: infocours.php?action=show_message&cidReq='.$course_code);
$url = api_get_path(WEB_CODE_PATH).'course_info/infocours.php?action=show_message&cidReq='.$course_code;
header("Location: $url");
exit;
}

Loading…
Cancel
Save