Added missing forceFrontend parameter
authorMarcel Werk <burntime@woltlab.com>
Wed, 2 Oct 2019 10:03:13 +0000 (12:03 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 2 Oct 2019 10:03:13 +0000 (12:03 +0200)
wcfsetup/install/files/lib/system/moderation/queue/ModerationQueueActivationManager.class.php
wcfsetup/install/files/lib/system/moderation/queue/ModerationQueueReportManager.class.php

index 401dcd5db35c6ac855dab18947b5c58d7f6bbbb6..621b5616ab4e4d2a54d13cb7571fb66543ca4ed9 100644 (file)
@@ -42,7 +42,10 @@ class ModerationQueueActivationManager extends AbstractModerationQueueManager {
         * @inheritDoc
         */
        public function getLink($queueID) {
-               return LinkHandler::getInstance()->getLink('ModerationActivation', ['id' => $queueID]);
+               return LinkHandler::getInstance()->getLink('ModerationActivation', [
+                       'id' => $queueID,
+                       'forceFrontend' => true
+               ]);
        }
        
        /**
index 48c6b2092c8c1b58b13f8c8ec23e4ba338d8480c..13b8812995921d09c832b300887b8e2527f92db6 100644 (file)
@@ -86,7 +86,10 @@ class ModerationQueueReportManager extends AbstractModerationQueueManager {
         * @inheritDoc
         */
        public function getLink($queueID) {
-               return LinkHandler::getInstance()->getLink('ModerationReport', ['id' => $queueID]);
+               return LinkHandler::getInstance()->getLink('ModerationReport', [
+                       'id' => $queueID,
+                       'forceFrontend' => true
+               ]);
        }
        
        /**