From 74676f22036b9fc2bc43080cc0fe02334595c793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 4 May 2015 20:03:16 +0200 Subject: [PATCH] Fix typo in AbstractSuspensionCommand.class.php --- file/lib/system/command/AbstractUnsuspensionCommand.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/system/command/AbstractUnsuspensionCommand.class.php b/file/lib/system/command/AbstractUnsuspensionCommand.class.php index 63ac11d..abf6d80 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()->checkPermissions(array('mod.chat.canG'.static::SUSPENSION_TYPE)); } else { if (!WCF::getSession()->getPermission('mod.chat.canG'.static::SUSPENSION_TYPE)) {