Skip to content
Snippets Groups Projects
Commit 074cf26b authored by andi's avatar andi
Browse files

auth fix

darcs-hash:20050226133345-9977f-1e13c0125ea5d62af4235ef043a644acbede67dc.gz
parent 79b608ce
No related branches found
No related tags found
No related merge requests found
......@@ -217,6 +217,9 @@ function auth_aclcheck($id,$user,$groups){
//if user is superuser return 255 (acl_admin)
if($conf['superuser'] == $user) { return AUTH_ADMIN; }
//make sure groups is an array
if(!is_array($groups)) $groups = array();
//prepend groups with @
for($i=0; $i<count($groups); $i++){
$groups[$i] = '@'.$groups[$i];
......
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