mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
whoopsied again
git-svn-id: file:///svn/phpbb/trunk@3733 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
82f0af1349
commit
ede818ebde
1 changed files with 2 additions and 2 deletions
|
@ -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']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue