mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
undoing change from #9575, as it broke the board disabled message
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9704 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7d13399665
commit
1c5e724e5e
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ class acp_board
|
||||||
// We go through the display_vars to make sure no one is trying to set variables he/she is not allowed to...
|
// We go through the display_vars to make sure no one is trying to set variables he/she is not allowed to...
|
||||||
foreach ($display_vars['vars'] as $config_name => $null)
|
foreach ($display_vars['vars'] as $config_name => $null)
|
||||||
{
|
{
|
||||||
if ($null === false || strpos($config_name, 'legend') !== false)
|
if (!isset($cfg_array[$config_name]) || strpos($config_name, 'legend') !== false)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue