mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
ok, r9704 was correct - i used a wrong code base within my tests. :/
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9943 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2547955b61
commit
d327154a5a
1 changed files with 1 additions and 7 deletions
|
@ -440,7 +440,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...
|
||||
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;
|
||||
}
|
||||
|
@ -450,12 +450,6 @@ class acp_board
|
|||
continue;
|
||||
}
|
||||
|
||||
// If not set, then this is a valid entry and needs to be emptied (select_multiple, checkbox)
|
||||
if (!isset($cfg_array[$config_name]))
|
||||
{
|
||||
$cfg_array[$config_name] = '';
|
||||
}
|
||||
|
||||
// Erm, we spotted an array
|
||||
if ($null['type'] == 'select_multiple' && $submit && isset($_REQUEST['config'][$config_name]))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue