@ -360,6 +365,11 @@ if ($form->validate() && is_settings_editable()) {
$sql = "UPDATE $table_course_setting SET value = ".(int)$update_values['display_info_advance_inside_homecourse']." WHERE variable = 'display_info_advance_inside_homecourse' ";
Database::query($sql);
}
if ($update_values['email_alert_students_on_new_homework'] != $values['email_alert_students_on_new_homework']) {
$sql = "UPDATE $table_course_setting SET value = ".(int)$update_values['email_alert_students_on_new_homework']." WHERE variable = 'email_alert_students_on_new_homework' ";