Ticket #2926: controller11.php.patch
| File controller11.php.patch, 0.9 kB (added by Carl.Vondrick, 10 months ago) |
|---|
-
lib/controller/sfController.class.php
old new 438 438 sfConfig::set('mod_'.strtolower($module).'_view_class', $viewName); 439 439 } 440 440 441 // forward to the mail action 442 $this->forward($module, $action); 441 try 442 { 443 // forward to the mail action 444 $this->forward($module, $action); 445 } 446 catch (Exception $e) 447 { 448 // put render mode back 449 $this->setRenderMode($renderMode); 443 450 451 // remove viewName 452 if ($viewName) 453 { 454 sfConfig::set('mod_'.strtolower($module).'_view_class', $currentViewName); 455 } 456 457 throw $e; 458 } 459 444 460 // grab the action entry from this forward 445 461 $actionEntry = $actionStack->getEntry($index); 446 462