mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Adding Controller::flash() fix for Ticket #1783
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4164 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
ae1c471316
commit
ebe6bab814
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ class Controller extends Object {
|
|||
function flash($message, $url, $pause = 1) {
|
||||
$this->autoRender = false;
|
||||
$this->autoLayout = false;
|
||||
$this->set('url', $this->base . $url);
|
||||
$this->set('url', Router::url($url));
|
||||
$this->set('message', $message);
|
||||
$this->set('pause', $pause);
|
||||
$this->set('page_title', $message);
|
||||
|
|
Loading…
Add table
Reference in a new issue