@dreamingmind
You didn't get the point of using compact() yet. When calling it you pass
the NAME of the variable (as string) and not the variable itself.
See Tesla code:
$this->set(compact('data'));
and NOT:
$this->set(compact($data));
=)
LipeDjow
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php