diff --git a/classes/module/ModuleHandler.class.php b/classes/module/ModuleHandler.class.php index c433ccbf3..ded0c827a 100644 --- a/classes/module/ModuleHandler.class.php +++ b/classes/module/ModuleHandler.class.php @@ -258,7 +258,7 @@ class ModuleHandler extends Handler } // redirect, if site start module - if(isset($_GET['mid']) && $_GET['mid'] === $site_module_info->mid && !$this->act && !$this->module && !$this->document_srl) + if(isset($_GET['mid']) && $_GET['mid'] === $site_module_info->mid && count($_GET) === 1) { Context::setCacheControl(0); header('location: ' . getNotEncodedSiteUrl($site_module_info->domain), true, 301);