made a mistake when turning stats into a whitelist

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9856 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Nils Adermann 2009-07-26 11:33:48 +00:00
parent ba37fa4f49
commit 4faf662623

View file

@ -253,6 +253,7 @@ class phpbb_questionnaire_phpbb_data_provider
'allow_namechange' => true, 'allow_namechange' => true,
'allow_nocensors' => true, 'allow_nocensors' => true,
'allow_pm_attach' => true, 'allow_pm_attach' => true,
'allow_pm_report' => true,
'allow_post_flash' => true, 'allow_post_flash' => true,
'allow_post_links' => true, 'allow_post_links' => true,
'allow_privmsg' => true, 'allow_privmsg' => true,
@ -435,11 +436,11 @@ class phpbb_questionnaire_phpbb_data_provider
); );
$result = array(); $result = array();
foreach ($this->config as $name => $value) foreach ($config_vars as $name => $void)
{ {
if (!isset($exclude_config_vars[$name])) if (isset($this->config[$name]))
{ {
$result['config.' . $name] = $value; $result['config.' . $name] = $this->config[$name];
} }
} }