From 28c0d8171b2c52ac22591ef5b00458c3b06a80b5 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Wed, 24 Mar 2010 03:20:50 +0000 Subject: [PATCH] MINOR: fixed notice level error git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@101600 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/control/ContentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/control/ContentController.php b/core/control/ContentController.php index 18f41180b..1db387086 100755 --- a/core/control/ContentController.php +++ b/core/control/ContentController.php @@ -90,7 +90,7 @@ class ContentController extends Controller { // If we've accessed the homepage as /home/, then we should redirect to /. if($this->dataRecord && $this->dataRecord instanceof SiteTree - && RootURLController::should_be_on_root($this->dataRecord) && !$this->urlParams['Action'] + && RootURLController::should_be_on_root($this->dataRecord) && (!isset($this->urlParams['Action']) || !$this->urlParams['Action'] ) && !$_POST && !$_FILES && !Director::redirected_to() ) { $getVars = $_GET; unset($getVars['url']);