]> git.mjollnir.org Git - moodle.git/commitdiff
Missing brackets on isadmin()
authormoodler <moodler>
Mon, 8 Sep 2003 12:57:39 +0000 (12:57 +0000)
committermoodler <moodler>
Mon, 8 Sep 2003 12:57:39 +0000 (12:57 +0000)
admin/configure.php

index 257099ef8e2b273d8329bc82b2fb4a5b2ebb92ca..79809452a32a574616ba14d9c33278a057c5cc9f 100644 (file)
@@ -4,7 +4,7 @@
 
     require_login();
 
-    if (!isadmin) {
+    if (!isadmin()) {
         error("Only admins can access this page");
     }