I removed the exit call and the expects function and made a test page.

What's weird is that if the id is truly empty, the redirect works.
But if the id exists the flash gets set, but the redirect does not get
called.

This happens in all cases where want to make sure the id passed to the
page exists and with any if statement.


On Apr 29, 2:49 pm, Sliv <[EMAIL PROTECTED]> wrote:
> 6311 - Try without the exit call, as exit happens by default.  On a
> side note, you should try out mariano's bindable behavior (newer)
> instead of expects (older).  Another thing: does it happen on all
> redirects or just this one (i.e. try generating a basic page with bake
> and test)
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to