Fixing parse error created in commit [6d092552e5]. Closes #647

This commit is contained in:
ADmad 2010-04-30 03:49:34 +05:30
parent 6d092552e5
commit afd67e534b

View file

@ -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);