forked from extern/egroupware
* Resources - fix 'Too few arguments' error when changing category of resource with accessories
This commit is contained in:
parent
95ea8445b5
commit
ee5aba82f4
@ -417,8 +417,7 @@ class resources_bo
|
||||
if (($acc = $this->so->read($accessory)))
|
||||
{
|
||||
$acc['cat_id'] = $resource['cat_id'];
|
||||
$this->so->data = $acc;
|
||||
$this->so->save();
|
||||
$this->so->save($acc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user