mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Fixing parse error created in commit [6d092552e5
]. Closes #647
This commit is contained in:
parent
6d092552e5
commit
afd67e534b
1 changed files with 3 additions and 3 deletions
|
@ -405,7 +405,7 @@ class Scaffold extends Object {
|
||||||
$message = __(sprintf(
|
$message = __(sprintf(
|
||||||
'There was an error deleting the %1$s with id: %2$d',
|
'There was an error deleting the %1$s with id: %2$d',
|
||||||
Inflector::humanize($this->modelClass), $id
|
Inflector::humanize($this->modelClass), $id
|
||||||
), true));
|
), true);
|
||||||
if ($this->_validSession) {
|
if ($this->_validSession) {
|
||||||
$this->controller->Session->setFlash($message);
|
$this->controller->Session->setFlash($message);
|
||||||
$this->controller->redirect($this->redirect);
|
$this->controller->redirect($this->redirect);
|
||||||
|
|
Loading…
Add table
Reference in a new issue