Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Missing brackets on isadmin()

  • Loading branch information...
commit 9eabdc8d2b2c54026e797ed0de577904df64e634 1 parent 66f6cd5
moodler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/configure.php
View
2  admin/configure.php
@@ -4,7 +4,7 @@
require_login();
- if (!isadmin) {
+ if (!isadmin()) {
error("Only admins can access this page");
}
Please sign in to comment.
Something went wrong with that request. Please try again.