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