From: tjhunt Date: Wed, 1 Aug 2007 16:54:39 +0000 (+0000) Subject: Fix notices on the admin page. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3a41f324cc274766a6746b82394e8dc942d4fb66;p=moodle.git Fix notices on the admin page. --- diff --git a/admin/settings/server.php b/admin/settings/server.php index 4a93655109..8e10d59dfc 100644 --- a/admin/settings/server.php +++ b/admin/settings/server.php @@ -2,6 +2,8 @@ // This file defines settingpages and externalpages under the "server" category +global $USER; + // "systempaths" settingpage $temp = new admin_settingpage('systempaths', get_string('systempaths','admin')); $temp->add(new admin_setting_configselect('gdversion', get_string('gdversion','admin'), get_string('configgdversion', 'admin'), check_gd_version(), array('0' => get_string('gdnot'),