Remove the echo. flash() does that itself.

On Fri, Apr 10, 2009 at 11:01 AM, gimmebucks <[email protected]> wrote:
>
> I'm using auth component and it's working like charm.
> on layout file(default.ctp), i use:
>
> echo $session->flash('auth');
>
> and the result is:
>
> You are not authorized to access that location.
> 1
>
> How to get rid of '1' character?
> Please help.
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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