mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
fix typo in bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4089 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
cc9b30ad2f
commit
6ffdf09d4d
1 changed files with 2 additions and 2 deletions
|
@ -1414,7 +1414,7 @@ class Bake {
|
|||
$habtmModelName = $this->__modelName($associationName);
|
||||
$habtmSingularName = $this->__singularName($associationName);
|
||||
$habtmPluralName = $this->__pluralName($associationName);
|
||||
$actions .= "\t\t\${$habtmPluralName} = \$this->{$currentModelName}->{$habtmoModelName}->generateList();\n";
|
||||
$actions .= "\t\t\${$habtmPluralName} = \$this->{$currentModelName}->{$habtmModelName}->generateList();\n";
|
||||
$compact[] = "'{$habtmPluralName}'";
|
||||
}
|
||||
}
|
||||
|
@ -1470,7 +1470,7 @@ class Bake {
|
|||
$habtmModelName = $this->__modelName($associationName);
|
||||
$habtmSingularName = $this->__singularName($associationName);
|
||||
$habtmPluralName = $this->__pluralName($associationName);
|
||||
$actions .= "\t\t\${$habtmPluralName} = \$this->{$currentModelName}->{$habtmoModelName}->generateList();\n";
|
||||
$actions .= "\t\t\${$habtmPluralName} = \$this->{$currentModelName}->{$habtmModelName}->generateList();\n";
|
||||
$compact[] = "'{$habtmPluralName}'";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue