Fixed adding permissions to an account not adding in the proper level for run

This commit is contained in:
jengo 2001-02-22 04:42:01 +00:00
parent f428321207
commit b9caa7f710

View File

@ -101,7 +101,7 @@
reset($this->data); reset($this->data);
while($app = each($this->data)) { while($app = each($this->data)) {
if(!$this->is_system_enabled($app[0])) { continue; } if(!$this->is_system_enabled($app[0])) { continue; }
$phpgw->acl->add_repository($app[0],'run',$this->account_id,'u',1); $phpgw->acl->add_repository($app[0],'run',$this->account_id,1);
} }
reset($this->data); reset($this->data);
return $this->data; return $this->data;