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:
gwoo 2006-12-08 21:48:19 +00:00
parent cc9b30ad2f
commit 6ffdf09d4d

View file

@ -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}'";
}
}