Probably the result of a comparison between a string and true, which
returns true...

The cause of this is more PHP itself :D

On 10 nov, 20:20, larry <[email protected]> wrote:
> When forcing a return from an action method (usually to end execution)
> one has to write:
>
> return sfView::SUCCESS;
>
> But I stupidly wrote:
>
> return true;
>
> I then got a blank white screen with no error. Even when I was looking
> at the dev controller, I still got no error. If the problem is that
> Symfony goes off looking for a template that doesn't exist, shouldn't
> there be an error that says so?
>
> I wasted 10 minutes troubleshooting before I realized my mistake.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to