From 4faf662623fdc9956604049c57499546149f3655 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sun, 26 Jul 2009 11:33:48 +0000 Subject: 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 --- phpBB/includes/questionnaire/questionnaire.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/questionnaire/questionnaire.php') diff --git a/phpBB/includes/questionnaire/questionnaire.php b/phpBB/includes/questionnaire/questionnaire.php index fe6e8a3bd7..88873efdc5 100644 --- a/phpBB/includes/questionnaire/questionnaire.php +++ b/phpBB/includes/questionnaire/questionnaire.php @@ -253,6 +253,7 @@ class phpbb_questionnaire_phpbb_data_provider 'allow_namechange' => true, 'allow_nocensors' => true, 'allow_pm_attach' => true, + 'allow_pm_report' => true, 'allow_post_flash' => true, 'allow_post_links' => true, 'allow_privmsg' => true, @@ -435,11 +436,11 @@ class phpbb_questionnaire_phpbb_data_provider ); $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]; } } -- cgit v1.2.1