> I'd add a check you are trying to add to an array.

I added a check to see if the system is trying to add to an array:
(count($queryData['conditions']) < 1)

And, though I can't completely follow why, this solves the problem!

Can you elaborate a bit more on why this solves my problem?

Anyway, thanx a lot for your help, because I've been trying to solve
this for months now!

Gerben.

On Jul 11, 3:53 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 11, 3:26 pm, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> > Anyone?
>
> Just a guess but:
>
> More than likley somewhere you have a constrfaint that is a string
> and  includes "WHERE" as the first word /of/ the constraint. you are
> replacing the first character of the constraint with your additional
> constraint, but only the value.
>
> I'd add a check you are trying to add to an array.
>
> An e.g. may help, I bet this does the same, or leads you to a
> conclusion:
>
> $conditions = "WHERE X = Y";
> $conditions['look ma a string'] = 1;
> pr ($conditions);
>
> hth,
>
> AD


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to