Skip to content
Permalink
Browse files

Fixing typo in Scaffold that caused error messages to display incorre…

…ctly. Fixes #813
  • Loading branch information...
markstory committed Jun 11, 2010
1 parent df3432a commit d1651db9a81f97e2da376dd733bfd6202147b557
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/controller/scaffold.php
@@ -223,7 +223,7 @@ function _output() {
function __scaffoldView($params) {
if ($this->controller->_beforeScaffold('view')) {
$message = __(sprintf("No id set for %s::view()", Inflector::humanize($this->modelKey), true));
$message = __(sprintf("No id set for %s::view()", Inflector::humanize($this->modelKey)), true);
if (isset($params['pass'][0])) {
$this->ScaffoldModel->id = $params['pass'][0];
} elseif ($this->_validSession) {

0 comments on commit d1651db

Please sign in to comment.
You can’t perform that action at this time.