From 5874065c3c8a82f83f2f083eefe68c95727d9e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20R=C3=BCsweg?= Date: Tue, 20 May 2014 21:00:51 +0200 Subject: [PATCH] fix php notice "array to string conversion" --- 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 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)) {