|
From: Meik S. <acy...@ph...> - 2009-08-10 11:15:08
|
Author: acydburn
Date: Mon Aug 10 12:14:21 2009
New Revision: 9943
Log:
ok, r9704 was correct - i used a wrong code base within my tests. :/
Modified:
branches/phpBB-3_0_0/phpBB/includes/acp/acp_board.php
Modified: branches/phpBB-3_0_0/phpBB/includes/acp/acp_board.php
==============================================================================
*** branches/phpBB-3_0_0/phpBB/includes/acp/acp_board.php (original)
--- branches/phpBB-3_0_0/phpBB/includes/acp/acp_board.php Mon Aug 10 12:14:21 2009
***************
*** 440,446 ****
// 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)
{
continue;
}
--- 440,446 ----
// 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 (!isset($cfg_array[$config_name]) || strpos($config_name, 'legend') !== false)
{
continue;
}
***************
*** 450,461 ****
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]))
{
--- 450,455 ----
|