mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
Fix preset resource catagory from nextmatch
This commit is contained in:
parent
e4133aa210
commit
e765fda60e
@ -450,7 +450,7 @@ class resources_ui
|
|||||||
'to_id' => $res_id,
|
'to_id' => $res_id,
|
||||||
'to_app' => 'resources'
|
'to_app' => 'resources'
|
||||||
);
|
);
|
||||||
} elseif ($accessory_of) {
|
} elseif ($accessory_of > 0) {
|
||||||
// Pre-set according to parent
|
// Pre-set according to parent
|
||||||
$owner = $this->bo->read($accessory_of);
|
$owner = $this->bo->read($accessory_of);
|
||||||
$content['cat_id'] = $owner['cat_id'];
|
$content['cat_id'] = $owner['cat_id'];
|
||||||
|
Loading…
Reference in New Issue
Block a user