diff --git a/src/Module/Helper/Permission.php b/src/Module/Helper/Permission.php index 392861a..822b39c 100644 --- a/src/Module/Helper/Permission.php +++ b/src/Module/Helper/Permission.php @@ -68,7 +68,7 @@ public function checkPermission($gperm_name, $gperm_itemid, $trueifadmin = true) $gperm_itemid = (int) $gperm_itemid; $gperm_groupid = $this->getUserGroups(); - if ($this->permissionHandle) { + if ($this->permissionHandler) { return $this->permissionHandler->checkRight( $gperm_name, $gperm_itemid,