mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Fix for editing private categories
This commit is contained in:
parent
18a524bd3e
commit
5bed43746f
@ -513,7 +513,7 @@ class categories
|
||||
// Load the application grants
|
||||
if ($category['appname'] == $this->app_name && is_null($this->grants))
|
||||
{
|
||||
$this->grants = $GLOBALS['egw']->acl->get_grants($this->app_name);
|
||||
$this->grants = $GLOBALS['egw']->acl->get_grants($this->app_name,true);
|
||||
}
|
||||
|
||||
// Check for ACL granted access, the self::GLOBAL_ACCOUNT user must not get access by ACL to keep old behaviour
|
||||
@ -693,7 +693,7 @@ class categories
|
||||
'cat_data' => is_array($values['data']) ? serialize($values['data']) : $values['data'],
|
||||
'cat_parent' => $values['parent'],
|
||||
'cat_access' => $values['access'],
|
||||
'cat_owner' => $values['owner'],
|
||||
'cat_owner' => isset($values['owner']) ? $values['owner'] : $this->account_id,
|
||||
'cat_main' => $values['main'],
|
||||
'cat_level' => $values['level'],
|
||||
'last_mod' => time(),
|
||||
|
Loading…
Reference in New Issue
Block a user