comanage-dev - [comanage-dev] beforeRender() condition in app_controller.php
Subject: COmanage Developers List
List archive
- From: Scott Koranda <>
- To: comanage-dev <>
- Subject: [comanage-dev] beforeRender() condition in app_controller.php
- Date: Tue, 11 Oct 2011 12:37:56 -0500
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.