Hi there

I have the following controller action which is accessed via ajax (select
box, observeField)

http://pastie.org/1400270

And here are the custom model functions it accesses

http://pastie.org/1400273

I am getting the following error when I access this function from the view:

*Notice (8): Undefined variable: category_label
[APP\views\orders\add_category.ctp, line 4]

*Does anybody have any idea why "$this->set(compact( ..." doesn't seem to be
sending the variable to the view?

-- 
Kind Regards
 Stephen @ NinjaCoderMonkey

 www.ninjacodermonkey.co.uk

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to