Skip to content
Snippets Groups Projects
Commit b9ad156b authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Merge pull request #153 from gturri/xmlrpcPerms

Made auth_aclcheck always return int
parents 71e90b1c def492a2
No related branches found
No related tags found
No related merge requests found
......@@ -580,7 +580,7 @@ function auth_aclcheck($id, $user, $groups) {
}
if($perm > -1) {
//we had a match - return it
return $perm;
return (int) $perm;
}
}
......@@ -610,7 +610,7 @@ function auth_aclcheck($id, $user, $groups) {
}
//we had a match - return it
if($perm != -1) {
return $perm;
return (int) $perm;
}
}
//get next higher namespace
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment