forked from extern/egroupware
Use correct admin command object to set run rights
This commit is contained in:
parent
f5b9aa3992
commit
d29cd78a7c
@ -372,7 +372,14 @@ class admin_acl
|
||||
'rights' => (int)$right
|
||||
// This is the documentation from policy app
|
||||
)+(array)$values['admin_cmd'];
|
||||
if($location == 'run')
|
||||
{
|
||||
$cmd = new admin_cmd_account_app($set_it,$account_id, $app);
|
||||
}
|
||||
else
|
||||
{
|
||||
$cmd = new admin_cmd_acl($data);
|
||||
}
|
||||
$cmd->run();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user