mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Corrected missing second param in __() in Dispatcher::dispatch()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5812 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
803a38105a
commit
78cb76d41b
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class Dispatcher extends Object {
|
||||||
Router::setRequestInfo(array($this->params, array('base' => $this->base, 'webroot' => $this->webroot)));
|
Router::setRequestInfo(array($this->params, array('base' => $this->base, 'webroot' => $this->webroot)));
|
||||||
|
|
||||||
return $this->cakeError('error404', array(array('url' => strtolower($controller),
|
return $this->cakeError('error404', array(array('url' => strtolower($controller),
|
||||||
'message' => __('Was not found on this server'),
|
'message' => __('Was not found on this server', true),
|
||||||
'base' => $this->base)));
|
'base' => $this->base)));
|
||||||
} else {
|
} else {
|
||||||
Router::setRequestInfo(array($this->params, array('base' => $this->base, 'webroot' => $this->webroot)));
|
Router::setRequestInfo(array($this->params, array('base' => $this->base, 'webroot' => $this->webroot)));
|
||||||
|
|
Loading…
Add table
Reference in a new issue