]> git.mjollnir.org Git - moodle.git/commitdiff
quiz: MDL-19813 missing global $OUTPUT.
authortjhunt <tjhunt>
Tue, 21 Jul 2009 07:08:08 +0000 (07:08 +0000)
committertjhunt <tjhunt>
Tue, 21 Jul 2009 07:08:08 +0000 (07:08 +0000)
mod/quiz/tabs.php

index ac56d03325fd4e9432d61053fe6c10479f06c0e0..8b0e16a7af3615788246f781bd0a9efaac20aa41 100644 (file)
@@ -6,7 +6,7 @@
  * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
  * @package quiz
  */
-global $DB;
+global $DB, $OUTPUT;
 if (empty($quiz)) {
     if (empty($attemptobj)) {
         print_error('cannotcallscript');