mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
MDL-14679: small fix for problem following db migration
This commit is contained in:
parent
b33261a04c
commit
1101dac08d
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
$timenow = time();
|
||||
|
||||
if ($DB->set_field("course_sections", "summary", $form->summary, array("id"=>$section->id))) {
|
||||
if (!$DB->set_field("course_sections", "summary", $form->summary, array("id"=>$section->id))) {
|
||||
print_error("cannotupdatesummary");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue