mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Don't redirect to another mid if a document is notice-all
This commit is contained in:
parent
a25497c567
commit
fea468f895
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue