aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-06-29 14:36:05 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-06-29 14:36:05 +0000
commit1c5e724e5ecbf3a9e36d3e34dd50f4cd3134f696 (patch)
tree1e09789bf28c1de498eadf9143e05d197c8d2688
parent7d13399665551b0200423205ba9350b8d9318ce7 (diff)
downloadforums-1c5e724e5ecbf3a9e36d3e34dd50f4cd3134f696.tar
forums-1c5e724e5ecbf3a9e36d3e34dd50f4cd3134f696.tar.gz
forums-1c5e724e5ecbf3a9e36d3e34dd50f4cd3134f696.tar.bz2
forums-1c5e724e5ecbf3a9e36d3e34dd50f4cd3134f696.tar.xz
forums-1c5e724e5ecbf3a9e36d3e34dd50f4cd3134f696.zip
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
-rw-r--r--phpBB/includes/acp/acp_board.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index 41849b909a..008594a319 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -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...
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;
}