My id is in the table and everything is correct, the problem is this:

UPDATE `friends` SET `status` = 'blocked', `blockedTime` = 1231456514
WHERE `friends`.`id` = 23

Should be this:

UPDATE `friends` SET `friends`.`status` = 'blocked',
`friends`.`blockedTime` = 1231456514
WHERE `friends`.`id` = 23

The extra `friends`. on the id is causing problems I believe.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to