aboutsummaryrefslogtreecommitdiff
path: root/displayformula.php
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2018-01-29 10:47:07 +0100
committerJean-Michel Vedrine <vedrine@vedrine.org>2018-01-29 10:47:07 +0100
commit54a193aa5cdeb2aa01778a5d39db019fcf51c31d (patch)
tree7e93fbd0db8ba19378cf428f07feb226b8cfcecc /displayformula.php
parent6bb43ea790a846d559bf8f1908006c35f263f4b4 (diff)
Fix to previous commit
Diffstat (limited to 'displayformula.php')
-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;