Skip to content

Commit

Permalink
Renaming variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 31, 2009
1 parent cab64b7 commit a855a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/controller/scaffold.php
Expand Up @@ -450,7 +450,7 @@ function __scaffold($params) {
$this->scaffoldActions = array(
'index', 'list', 'view', 'add', 'create', 'edit', 'update', 'delete'
);
} elseif (!empty($prefixes) && in_array($this->scaffoldActions, $prefixes)) {
} elseif (!empty($prefixes) && in_array($scaffoldPrefix, $prefixes)) {
$this->scaffoldActions = array(
$scaffoldPrefix . '_index',
$scaffoldPrefix . '_list',
Expand Down

0 comments on commit a855a6a

Please sign in to comment.