Permalink
Browse files

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

  • Loading branch information...
1 parent 6d09255 commit afd67e534b2cd75feca19429f1fdd80c9ae872ed @ADmad ADmad committed Apr 29, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 cake/libs/controller/scaffold.php
@@ -322,7 +322,7 @@ function __scaffoldSave($params = array(), $action = 'edit') {
if ($this->ScaffoldModel->save($this->controller->data)) {
if ($this->controller->_afterScaffoldSave($action)) {
$message = __(
- sprintf('The %1$s has been %2$s', Inflector::humanize($this->modelKey), $success),
+ sprintf('The %1$s has been %2$s', Inflector::humanize($this->modelKey), $success),
true
);
if ($this->_validSession) {
@@ -403,9 +403,9 @@ function __scaffoldDelete($params = array()) {
}
} else {
$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
- ), true));
+ ), true);
if ($this->_validSession) {
$this->controller->Session->setFlash($message);
$this->controller->redirect($this->redirect);

0 comments on commit afd67e5

Please sign in to comment.