mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 02:36:38 +02:00
BBCode enabled profile fields, removed field_name from profile fields, fixed some uninitialised variable issues, some small conversion issues
git-svn-id: file:///svn/phpbb/trunk@5076 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -225,14 +225,14 @@ switch ($submit)
|
||||
|
||||
// Do we need to recache the moderator lists? We do if the mode
|
||||
// was mod or auth_settings['mod'] is a non-zero size array
|
||||
if ($mode == 'mod' || sizeof($auth_settings['mod']))
|
||||
if ($mode == 'mod' || (isset($auth_settings['mod']) && sizeof($auth_settings['mod'])))
|
||||
{
|
||||
cache_moderators();
|
||||
}
|
||||
|
||||
// Remove users who are now moderators or admins from everyones foes
|
||||
// list
|
||||
if ($mode == 'mod' || sizeof($auth_settings['mod']) || $mode == 'admin' || sizeof($auth_settings['admin']))
|
||||
if ($mode == 'mod' || (isset($auth_settings['mod']) && sizeof($auth_settings['mod'])) || $mode == 'admin' || (isset($auth_settings['admin']) && sizeof($auth_settings['admin'])))
|
||||
{
|
||||
update_foes();
|
||||
}
|
||||
|
Reference in New Issue
Block a user