From 0d0baabf2c568b30d9d6f3b399a241c42b920947 Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 30 Mar 2003 13:25:49 +0000 Subject: [PATCH] Fixed a missing global $CFG declaration. --- lib/weblib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/weblib.php b/lib/weblib.php index 987670207d..e3188b011b 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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")."..."; } -- 2.39.5