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 <bally.z...@gmail.com> wrote:
> Remove the echo. flash() does that itself.
>
> On Fri, Apr 10, 2009 at 11:01 AM, gimmebucks <sapew...@gmail.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to