]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed a missing global $CFG declaration.
authormoodler <moodler>
Sun, 30 Mar 2003 13:25:49 +0000 (13:25 +0000)
committermoodler <moodler>
Sun, 30 Mar 2003 13:25:49 +0000 (13:25 +0000)
lib/weblib.php

index 987670207d2d44a0e466572bc32b73ab2d06ae5b..e3188b011b99d566d143e1cdd1fc37cc481c5061 100644 (file)
@@ -315,6 +315,8 @@ function popup_form ($common, $options, $formname, $selected="", $nothing="choos
 ///  $help     = The name of a help page if help is required
 ///  $helptext  = The name of the label for the help button
 
+    global $CFG;
+
     if ($nothing == "choose") {
         $nothing = get_string("choose")."...";
     }