comanage-dev - Re: [comanage-dev] beforeRender() condition in app_controller.php
Subject: COmanage Developers List
List archive
- From: Scott Koranda <>
- To: Benn Oshrin <>
- Cc:
- Subject: Re: [comanage-dev] beforeRender() condition in app_controller.php
- Date: Tue, 11 Oct 2011 15:56:50 -0500
> Sounds good to me. Can you cut a ticket and assign it to yourself
> before fixing?
Wilco.
>
> On 10/11/11 1:37 PM, Scott Koranda wrote:
> >Hi,
> >
> >I app_controller.php in the beforeRender() function I see
> >this:
> >
> >if($req != 'Page') // Page doesn't have an actual model
> > $model = $this->$req;
> >
> >Should this instead be
> >
> >if($req != 'Page' and $req != 'CakeError') // Page doesn't have an actual
> >model
> > $model = $this->$req;
> >
> >so that instances of CakeError can "get through"? Without that
> >change then the error that I see always happens at the line
> >
> > $model = $this->$req;
> >
> >Scott
> >
>
- [comanage-dev] beforeRender() condition in app_controller.php, Scott Koranda, 10/11/2011
- Re: [comanage-dev] beforeRender() condition in app_controller.php, Benn Oshrin, 10/11/2011
- Re: [comanage-dev] beforeRender() condition in app_controller.php, Scott Koranda, 10/11/2011
- Re: [comanage-dev] beforeRender() condition in app_controller.php, Benn Oshrin, 10/11/2011
- Re: [comanage-dev] beforeRender() condition in app_controller.php, Scott Koranda, 10/11/2011
- Re: [comanage-dev] beforeRender() condition in app_controller.php, Benn Oshrin, 10/11/2011
Archive powered by MHonArc 2.6.16.