mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[feature/ajax] Unify phpbb_json_response instantiation
PHPBB3-10270
This commit is contained in:
parent
ef03f8d053
commit
4a5172c9f7
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ class acp_modules
|
||||||
{
|
{
|
||||||
if ($request->is_ajax())
|
if ($request->is_ajax())
|
||||||
{
|
{
|
||||||
$json_response = new phpbb_json_response();
|
$json_response = new phpbb_json_response;
|
||||||
$json_response->send(array(
|
$json_response->send(array(
|
||||||
'MESSAGE_TITLE' => $user->lang('ERROR'),
|
'MESSAGE_TITLE' => $user->lang('ERROR'),
|
||||||
'MESSAGE_TEXT' => implode('<br />', $errors),
|
'MESSAGE_TEXT' => implode('<br />', $errors),
|
||||||
|
|
Loading…
Add table
Reference in a new issue