In the cake/libs/model/model.php in the function setDataSource(), it would appear that there is not always a return value.
According to the last if statement in that function, the function will only return a value if $db is empty, null, or is not an object. This last if statement isn't always guaranteed to be true is it? (if it is, then why even have an if statement). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
