*/
public $loginRequired = true;
+ /**
+ * @see wcf\page\AbstractPage::$neededPermissions
+ */
+ public $neededPermissions = array('mod.general.canUseModeration');
+
/**
* moderation queue object
* @var wcf\data\moderation\queue\ViewableModerationQueue
if (isset($_REQUEST['id'])) $this->queueID = intval($_REQUEST['id']);
$this->queue = ViewableModerationQueue::getViewableModerationQueue($this->queueID);
- if (!$this->queue === null) {
+ if ($this->queue === null) {
throw new IllegalLinkException();
}