From 1101dac08d8227e971589061a8e6f9285e488b3a Mon Sep 17 00:00:00 2001 From: scyrma Date: Tue, 29 Jul 2008 02:35:17 +0000 Subject: [PATCH] MDL-14679: small fix for problem following db migration --- course/editsection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/editsection.php b/course/editsection.php index 97da43f1f4..f5a090c0a2 100644 --- a/course/editsection.php +++ b/course/editsection.php @@ -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"); } -- 2.39.5