1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

fix php notice "array to string conversion"

This commit is contained in:
Joshua Rüsweg 2014-05-20 21:00:51 +02:00
parent 28b46263d3
commit 5874065c3c

View File

@ -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)) {