mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Renaming variable.
This commit is contained in:
parent
cab64b780c
commit
a855a6aa41
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue