On Mon, May 17, 2010 at 8:27 PM, calvin <cal...@rottenrecords.com> wrote: > (..)
The essence of the problem is that the upload() method in your model is returning a boolean value while, in fact, it can sinalize more than just two opposite situations. A better solution would be return some kind of status code or even throw exceptions for each expected situation in your case. Best regards. -- MARCELO F ANDRADE Belem, Amazonia, Brazil "I took the red pill" 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 cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en