1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-27 05:25:47 +02:00

[ticket/14806] Fix ACP test emails authentication failure

PHPBB3-14806
This commit is contained in:
rxu
2017-03-11 17:06:26 +07:00
parent 9267235f30
commit 4826f7c1d3

View File

@ -26,7 +26,7 @@ if (!defined('IN_PHPBB'))
class acp_board class acp_board
{ {
var $u_action; var $u_action;
var $new_config = array(); var $new_config;
function main($id, $mode) function main($id, $mode)
{ {
@ -482,7 +482,7 @@ class acp_board
$user->add_lang($display_vars['lang']); $user->add_lang($display_vars['lang']);
} }
$this->new_config = $config; $this->new_config = clone $config;
$cfg_array = (isset($_REQUEST['config'])) ? utf8_normalize_nfc(request_var('config', array('' => ''), true)) : $this->new_config; $cfg_array = (isset($_REQUEST['config'])) ? utf8_normalize_nfc(request_var('config', array('' => ''), true)) : $this->new_config;
$error = array(); $error = array();