From: tjhunt Date: Tue, 19 Feb 2008 16:21:36 +0000 (+0000) Subject: MDL-13448 - missing the global $db statement. Fix thanks to Samuli Karevaara. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ec3fa1d8eb7f66dd6cd625a1577dbc8d4e7dd05e;p=moodle.git MDL-13448 - missing the global $db statement. Fix thanks to Samuli Karevaara. --- diff --git a/mod/quiz/db/upgrade.php b/mod/quiz/db/upgrade.php index 4cff3d89d1..07b41df506 100644 --- a/mod/quiz/db/upgrade.php +++ b/mod/quiz/db/upgrade.php @@ -19,7 +19,7 @@ function xmldb_quiz_upgrade($oldversion=0) { - global $CFG, $THEME; + global $CFG, $THEME, $db; $result = true;