From fb7e66881cc68c7b55adfbf857cc13ce617dbbf1 Mon Sep 17 00:00:00 2001 From: dho Date: Tue, 31 Oct 2006 08:07:16 +0000 Subject: [PATCH] Fixing wrong key names for hasMany associations git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3775 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/scripts/bake.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/scripts/bake.php b/cake/scripts/bake.php index 3012d56b1..566c4f6c5 100644 --- a/cake/scripts/bake.php +++ b/cake/scripts/bake.php @@ -1615,8 +1615,8 @@ class Bake { $out .= "\t\t\t\t\t'offset' => '',\n"; $out .= "\t\t\t\t\t'dependent' => '',\n"; $out .= "\t\t\t\t\t'exclusive' => '',\n"; - $out .= "\t\t\t\t\t'finderSql' => '',\n"; - $out .= "\t\t\t\t\t'counterSql' => ''\n\t\t\t),\n\n"; + $out .= "\t\t\t\t\t'finderQuery' => '',\n"; + $out .= "\t\t\t\t\t'counterQuery' => ''\n\t\t\t),\n\n"; } $out .= "\t);\n\n"; }