diff --git a/file/lib/system/command/AbstractUnsuspensionCommand.class.php b/file/lib/system/command/AbstractUnsuspensionCommand.class.php index afcf02f..63ac11d 100644 --- a/file/lib/system/command/AbstractUnsuspensionCommand.class.php +++ b/file/lib/system/command/AbstractUnsuspensionCommand.class.php @@ -63,7 +63,7 @@ public function checkPermission() { $ph = new \chat\system\permission\PermissionHandler(); if (static::IS_GLOBAL) { - WCF::getSession()->checkPermission((array) 'mod.chat.canG'.static::SUSPENSION_TYPE); + WCF::getSession()->checkPermission(array('mod.chat.canG'.static::SUSPENSION_TYPE)); } else { if (!WCF::getSession()->getPermission('mod.chat.canG'.static::SUSPENSION_TYPE)) {