1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-05 02:15:13 +02:00

#3694 - Typo 'perms' to 'perm' to properly check permissions

This commit is contained in:
Tijn Kuyper 2019-02-26 14:44:13 +01:00
parent 614711ff21
commit 2e9c16db99
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2

View File

@ -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')
);