mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16308] Fix UCP reset password
remove HTML from PHP and code beautify PHPBB3-16308
This commit is contained in:
@@ -425,8 +425,7 @@ class reset_password
|
||||
}
|
||||
|
||||
$this->template->assign_vars([
|
||||
'S_PASSWORD_RESET_ERRORS' => (bool) !empty($errors),
|
||||
'PASSWORD_RESET_ERRORS' => implode('<br>', array_map([$this->language, 'lang'], $errors)),
|
||||
'PASSWORD_RESET_ERRORS' => !empty($errors) ? array_map([$this->language, 'lang'], $errors) : '',
|
||||
'S_IS_PASSWORD_RESET' => true,
|
||||
'U_RESET_PASSWORD_ACTION' => $this->helper->route('phpbb_ucp_reset_password_controller'),
|
||||
'S_HIDDEN_FIELDS' => build_hidden_fields([
|
||||
|
Reference in New Issue
Block a user