Hi there,
I'm using the saveField() function from within a model, like so:
<?php
...
...
if (!is_null($status))
{
$this->id = $quote_id;
$ret[] = $this->saveField('status', $status, true);
}
...
...
?>
"
The status field is always updated to have a value of '1' no matter what the actual value of $status is.
Can anyone spot why?
Cheers,
Sonic
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- Strange behavior with saveField() Sonic Baker
