Fixed error resulting from new Controller code

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40592 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-08-20 22:43:13 +00:00
parent 734cf2ad4f
commit 15d03ffdef

View File

@ -105,7 +105,7 @@ class Security extends Controller {
$controller = new Page_Controller($tmpPage); $controller = new Page_Controller($tmpPage);
$controller->init(); $controller->init();
Controller::$currentController = $controller; //Controller::$currentController = $controller;
if(SSViewer::hasTemplate("Security_login")) { if(SSViewer::hasTemplate("Security_login")) {
return $controller->renderWith(array("Security_login", "Page")); return $controller->renderWith(array("Security_login", "Page"));