Browse Source

Fixing typo in HABTM definition (ticket #1975)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4304 3807eeeb-6ff5-0310-8944-8be069107fe0
dho 19 years ago
parent
commit
4602d76673
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cake/scripts/bake.php

+ 1 - 1
cake/scripts/bake.php

@@ -1701,7 +1701,7 @@ class Bake {
 					$out .= "\t\t\t\t\t\t'order' => '',\n";
 					$out .= "\t\t\t\t\t\t'limit' => '',\n";
 					$out .= "\t\t\t\t\t\t'offset' => '',\n";
-					$out .= "\t\t\t\t\t\t'uniq' => '',\n";
+					$out .= "\t\t\t\t\t\t'unique' => '',\n";
 					$out .= "\t\t\t\t\t\t'finderQuery' => '',\n";
 					$out .= "\t\t\t\t\t\t'deleteQuery' => '',\n";
 					$out .= "\t\t\t\t\t\t'insertQuery' => ''";