On 5/10/07, Greg Cerveny <[EMAIL PROTECTED]> wrote:
>
>
> Definitely helps.
>
> Generally speaking though, do you could an else statement in
> regardless if it doesn't need the view or message setting just for
> styles sake?


I always put in an else as the saving could fail (and as we all know,
anything that can fail, will, as Murphy would say). At least it should store
the message in a log somewhere. If you really don't care if the saving
fails, then I guess you can omit the else.

Regards,
Gonzalo.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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