Avoid to end SQL commands with a trailing ';'. MDL-9058

This commit is contained in:
stronk7
2007-03-26 21:51:18 +00:00
parent 7b2ce0378b
commit 7e7b0ef002
+1 -1
View File
@@ -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
}