From: Nils A. <nad...@ph...> - 2009-07-26 11:34:08
|
Author: naderman Date: Sun Jul 26 12:33:48 2009 New Revision: 9856 Log: made a mistake when turning stats into a whitelist Modified: branches/phpBB-3_0_0/phpBB/includes/questionnaire/questionnaire.php Modified: branches/phpBB-3_0_0/phpBB/includes/questionnaire/questionnaire.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/questionnaire/questionnaire.php (original) --- branches/phpBB-3_0_0/phpBB/includes/questionnaire/questionnaire.php Sun Jul 26 12:33:48 2009 *************** *** 253,258 **** --- 253,259 ---- '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,445 **** ); $result = array(); ! foreach ($this->config as $name => $value) { ! if (!isset($exclude_config_vars[$name])) { ! $result['config.' . $name] = $value; } } --- 436,446 ---- ); $result = array(); ! foreach ($config_vars as $name => $void) { ! if (isset($this->config[$name])) { ! $result['config.' . $name] = $this->config[$name]; } } |