mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #4008 from davidyell/patch-3
Update ControllerTask.php
This commit is contained in:
commit
91b4ee8984
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ class ControllerTask extends BakeTask {
|
|||
if (strtolower($wannaUseSession) === 'y') {
|
||||
array_push($components, 'Session');
|
||||
}
|
||||
array_unique($components);
|
||||
}
|
||||
} else {
|
||||
list($wannaBakeCrud, $wannaBakeAdminCrud) = $this->_askAboutMethods();
|
||||
|
|
Loading…
Reference in a new issue