From 1555de81ce6b95238f6f48d7d6387eb2127dda7f Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 26 Mar 2007 21:52:11 +0000 Subject: [PATCH] Avoid to end SQL commands with a trailing ';'. MDL-9058 Merged from MOODLE_18_STABLE --- mod/resource/db/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/resource/db/upgrade.php b/mod/resource/db/upgrade.php index dc1f0eb1c2..8e6db05b5f 100644 --- a/mod/resource/db/upgrade.php +++ b/mod/resource/db/upgrade.php @@ -34,7 +34,7 @@ function xmldb_resource_upgrade($oldversion=0) { if ($result && $oldversion < 2007011700) { //move format from options to reference field because it was colliding with course blocks setting - execute_sql("UPDATE {$CFG->prefix}resource SET reference=options WHERE type='text' AND reference='' AND options!='showblocks';"); + execute_sql("UPDATE {$CFG->prefix}resource SET reference=options WHERE type='text' AND reference='' AND options!='showblocks'"); //ignore result } -- 2.39.5