I want the system to display :
"You are not authorized to access that location."

But not
"You are not authorized to access that location.
1"

Please help.

On Apr 11, 12:25 am, brian <[email protected]> wrote:
> Remove the echo. flash() does that itself.
>
> On Fri, Apr 10, 2009 at 11:01 AM, gimmebucks <[email protected]> wrote:
>
> > I'm usingauthcomponent 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