aboutsummaryrefslogtreecommitdiffstats
path: root/include/permissions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/permissions.php')
-rw-r--r--include/permissions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/permissions.php b/include/permissions.php
index e3578b311..8e8cf5ac2 100644
--- a/include/permissions.php
+++ b/include/permissions.php
@@ -285,7 +285,7 @@ function check_list_permissions($uid,$arr,$perm) {
$result = array();
if($arr)
foreach($arr as $x)
- if($perm_is_allowed($uid,$x,$perm))
+ if(perm_is_allowed($uid,$x,$perm))
$result[] = $x;
return($result);
}