Removed the named table alias from each of the HABTM joins, since we don't know in advance what name will be used in the actual join
git-svn-id: file:///svn-source/pmgr/branches/initial_20090526/site@51 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -16,7 +16,7 @@ class ContactPhone extends AppModel {
|
||||
'foreignKey' => 'method_id',
|
||||
'associationForeignKey' => 'contact_id',
|
||||
'unique' => true,
|
||||
'conditions' => "ContactsMethod.method = 'PHONE'",
|
||||
'conditions' => "method = 'PHONE'",
|
||||
'fields' => '',
|
||||
'order' => '',
|
||||
'limit' => '',
|
||||
|
||||
Reference in New Issue
Block a user