aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--displayformula.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/displayformula.php b/displayformula.php
index 09f4cff..9693af3 100644
--- a/displayformula.php
+++ b/displayformula.php
@@ -30,7 +30,7 @@
require_once('../../../config.php');
require_once("$CFG->dirroot/question/type/algebra/parser.php");
-global $PAGE;
+global $PAGE, $CFG;
require_login();
$p = new qtype_algebra_parser;