Hi all, I have been struggling to find the root of a problem i am
having, and i think i have just found it. It appears that when i use
the $uses variable in my controller, the tables are no longer
associated...
As an example,
League belongsTo User
$this->League->read(null, $id)
returns:
Array([League] => array(), [User] => array())
However, when I put var $uses = array('League', 'Setting'); at the top
of the controller, because I also want to be able to access Settings,
which are not related to the League, the above read returns the
following:
Array([League] => array())
Should this be happening? Or am I just doing something wrong?
Thanks
Patrick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---