mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
Possible fix for Bugtracker #4223 - userclasses getting lost
This commit is contained in:
parent
298202106c
commit
8a409b7abe
@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/usersettings.php,v $
|
||||
| $Revision: 1.16 $
|
||||
| $Date: 2007-10-30 22:34:32 $
|
||||
| $Revision: 1.17 $
|
||||
| $Date: 2007-12-09 22:38:27 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@ -548,6 +548,10 @@ if($curVal['user_admin'] == 1)
|
||||
{
|
||||
$tmp[] = e_UC_ADMIN;
|
||||
}
|
||||
if (strpos($curVal['user_perms'],'0') === 0)
|
||||
{
|
||||
$tmp[] = e_UC_MAINADMIN;
|
||||
}
|
||||
$curVal['userclass_list'] = implode(",", $tmp);
|
||||
|
||||
if($_POST)
|
||||
|
Loading…
x
Reference in New Issue
Block a user