From dad9893edb18d9889603dde91e50b4c7c44d07d1 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Fri, 27 Nov 2009 10:56:39 +0000 Subject: [PATCH] Missing global in upgrade code. --- question/type/multichoice/db/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/multichoice/db/upgrade.php b/question/type/multichoice/db/upgrade.php index 501af6ce8c..b9ca6f3f32 100644 --- a/question/type/multichoice/db/upgrade.php +++ b/question/type/multichoice/db/upgrade.php @@ -21,7 +21,7 @@ // before any action that may take longer time to finish. function xmldb_qtype_multichoice_upgrade($oldversion) { - global $CFG, $DB; + global $CFG, $DB, $QTYPES; $dbman = $DB->get_manager(); $result = true; -- 2.39.5