From fea468f89585dc3d9cd0425e0758adbf73b4d26e Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Fri, 2 Oct 2020 01:54:52 +0900 Subject: [PATCH] Don't redirect to another mid if a document is notice-all --- classes/module/ModuleHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/module/ModuleHandler.class.php b/classes/module/ModuleHandler.class.php index 2fb614daa..5138f916a 100644 --- a/classes/module/ModuleHandler.class.php +++ b/classes/module/ModuleHandler.class.php @@ -686,7 +686,7 @@ class ModuleHandler extends Handler if($module_info) { // Compare the current mid to the module that the document belongs to. - if(!$this->mid || ($this->mid !== $module_info->mid)) + if(!$this->mid || ($this->mid !== $module_info->mid && $module_info->is_notice !== 'A')) { // If this is a GET request, redirect to the correct mid. if(Context::getRequestMethod() === 'GET')