mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
whoopsied again
git-svn-id: file:///svn/phpbb/trunk@3733 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -77,7 +77,7 @@ switch ($mode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check permissions
|
// Check permissions
|
||||||
if (!$auth->acl_get($which_acl))
|
if (!$auth->acl_get($which_auth))
|
||||||
{
|
{
|
||||||
trigger_error($user->lang['NO_ADMIN']);
|
trigger_error($user->lang['NO_ADMIN']);
|
||||||
}
|
}
|
||||||
@@ -103,7 +103,7 @@ while ($row = $db->sql_fetchrow($result))
|
|||||||
|
|
||||||
if (isset($_POST['submit']))
|
if (isset($_POST['submit']))
|
||||||
{
|
{
|
||||||
add_log('admin', 'log_' . $mode . '_config');
|
add_log('admin', 'LOG_' . strtoupper($mode) . '_CONFIG');
|
||||||
trigger_error($user->lang['Config_updated']);
|
trigger_error($user->lang['Config_updated']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user