Renaming variable.

This commit is contained in:
mark_story 2009-10-31 16:16:58 -04:00
parent cab64b780c
commit a855a6aa41

View file

@ -450,7 +450,7 @@ class Scaffold extends Object {
$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',