mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-23 14:58:40 +00:00
Don't init l11n if no response
This commit is contained in:
parent
5a225b781a
commit
18f7df45c3
|
|
@ -87,7 +87,7 @@ class View extends ViewAbstract
|
|||
$this->app = $app;
|
||||
$this->request = $request;
|
||||
$this->response = $response;
|
||||
$this->l11n = $response->getHeader()->getL11n();
|
||||
$this->l11n = isset($response) ? $response->getHeader()->getL11n() : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user