Skip to content

Commit 16d596d

Browse files
committed
Merge branch 'develop'
2 parents 237f851 + 71485dc commit 16d596d

File tree

5 files changed

+71
-2649
lines changed

5 files changed

+71
-2649
lines changed

config/vanilla/bootstrap.before.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,8 @@ function watchButton($categoryID) {
374374
* @return bool return true if user has a permission
375375
*/
376376
function checkGroupPermission($userID,$groupID, $categoryID = null , $permissionCategoryID = null , $permission = null, $fullMatch = true) {
377-
return GroupModel::checkPermission($userID,$groupID, $categoryID,$permissionCategoryID , $permission, $fullMatch);
377+
$groupModel = new GroupModel();
378+
return $groupModel->checkPermission($userID,$groupID, $categoryID,$permissionCategoryID , $permission, $fullMatch);
378379
}
379380
}
380381

0 commit comments

Comments
 (0)