Skip to content
Browse files

Missing brackets on isadmin()

  • Loading branch information...
1 parent 66f6cd5 commit 9eabdc8d2b2c54026e797ed0de577904df64e634 moodler committed
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");
}

0 comments on commit 9eabdc8

Please sign in to comment.
Something went wrong with that request. Please try again.