Hmm... it doesn't look like that's my problem.  but I did start tracing
line 805 in the save() function in model_php5.php.  I think the problem
is line 652 in the hasField() function:

if ($this->_tableInfo != null) {

Somehow ($this->_tableInfo != null) evaluates to false.  I changed the
condition to

(!is_null($this->_tableInfo))

and everything works fine after that!  I also tried

($this->_tableInfo !== null)

and that works fine too.  I'm new to both PHP and Cake, so it's not
clear to me what's happening.  Can someone explain to me?  Could this
be a bug in Cake?


--~--~---------~--~----~------------~-------~--~----~
 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