From 2e9c16db99af1292f45d8fe64a401e2a79b1aa79 Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Tue, 26 Feb 2019 14:44:13 +0100 Subject: [PATCH] #3694 - Typo 'perms' to 'perm' to properly check permissions --- e107_admin/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_admin/users.php b/e107_admin/users.php index 9f21bbf8a..a6c4a8e24 100644 --- a/e107_admin/users.php +++ b/e107_admin/users.php @@ -66,7 +66,7 @@ class users_admin extends e_admin_dispatcher 'main/add' => array('caption'=> LAN_USER_QUICKADD, 'perm' => '4|U0|U1'), 'main/prefs' => array('caption'=> LAN_OPTIONS, 'perm' => '4|U2'), 'ranks/list' => array('caption'=> LAN_USER_RANKS, 'perm' => '4|U3'), - 'main/maintenance' => array('caption'=> LAN_MAINTENANCE, 'perms'=>'4') + 'main/maintenance' => array('caption'=> LAN_MAINTENANCE, 'perm' => '4') // 'ranks/list' => array('caption'=> LAN_USER_RANKS, 'perm' => '4|U3') );