Fixed bug meaning admin couldn't edit users

This commit is contained in:
Neil Lathwood
2015-02-17 13:12:29 +00:00
parent c1bbbaca1b
commit 5bccef0fac

View File

@@ -236,7 +236,7 @@ if ($_SESSION['userlevel'] != '10') { include("includes/error-no-perm.inc.php");
} elseif ($vars['user_id'] && $vars['edit']) {
if($_SESSION['userlevel'] == 10) {
if($_SESSION['userlevel'] == 11) {
demo_account();
} else {