I forgot to mention that I'm doing a find('list', $conditions).
Conditions do not contain any reference to an ID being set to 5. The
conditions is an 'OR' with multiple like statements.On Nov 8, 10:20 pm, Dan <[email protected]> wrote: > I'm doing this: > echo $this->element('sql_dump'); > > In the where clause of one of the statements, I have this: > > ON ("ClientsProjects"."project_id" = '5' AND > "ClientsProjects"."contact_id" = "Contact"."contact_id") > > I've searched my entire code base and cannot for the life of me find > where the hard coded value of 5 is being associated to project_id. > > I do have a project_id of 5 that is linked to a contact_id of 36 in a > linking table though (along with many others to that same project_id). Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
