mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 08:09:02 +01:00
Allow setting owner when creating a new category
This commit is contained in:
parent
bfa42d8426
commit
74e7a27b4c
@ -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