Fixed bug publishing homepage using Director::test

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62756 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-09-19 05:54:07 +00:00
parent 28699c3550
commit 4b2af337d8

View File

@ -17,7 +17,9 @@ class RootURLController extends Controller {
$request = new HTTPRequest("GET", self::get_homepage_urlsegment().'/', $request->getVars(), $request->postVars());
$request->match('$URLSegment//$Action');
return $controller->handleRequest($request);
$result = $controller->handleRequest($request);
$controller->popCurrent();
return $result;
}
/**