mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
updating model task, fixes #3782
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6275 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
7e845242d5
commit
1b10036712
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class ModelTask extends Shell {
|
|||
}
|
||||
|
||||
if (!empty($this->args[0])) {
|
||||
$model = $this->args[0];
|
||||
$model = Inflector::camelize($this->args[0]);
|
||||
if ($this->bake($model)) {
|
||||
if ($this->_checkUnitTest()) {
|
||||
$this->bakeTest($model);
|
||||
|
|
Loading…
Add table
Reference in a new issue