mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/controller] Move Response definition into a variable
PHPBB3-10864
This commit is contained in:
@@ -67,7 +67,8 @@ class phpbb_event_kernel_exception_subscriber implements EventSubscriberInterfac
|
||||
|
||||
page_footer(true, false, false);
|
||||
|
||||
$event->setResponse(new Response($this->template->assign_display('body'), 404));
|
||||
$response = new Response($this->template->assign_display('body'), 404);
|
||||
$event->setResponse($response);
|
||||
}
|
||||
|
||||
public static function getSubscribedEvents()
|
||||
|
Reference in New Issue
Block a user