mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Allow setting owner when creating a new category
This commit is contained in:
parent
d7372d5a60
commit
e4d0a78c8d
@ -423,7 +423,7 @@ class categories
|
||||
}
|
||||
$this->db->insert(self::TABLE,array(
|
||||
'cat_parent' => $values['parent'],
|
||||
'cat_owner' => $this->account_id,
|
||||
'cat_owner' => isset($values['owner']) ? $values['owner'] : $this->account_id,
|
||||
'cat_access' => isset($values['access']) ? $values['access'] : 'public',
|
||||
'cat_appname' => $this->app_name,
|
||||
'cat_name' => $values['name'],
|
||||
|
Loading…
Reference in New Issue
Block a user