* Resources - fix 'Too few arguments' error when changing category of resource with accessories

This commit is contained in:
nathangray 2018-05-09 09:48:08 -06:00
parent 01013dd898
commit cfa65c7150

View File

@ -417,8 +417,7 @@ class resources_bo
if (($acc = $this->so->read($accessory))) if (($acc = $this->so->read($accessory)))
{ {
$acc['cat_id'] = $resource['cat_id']; $acc['cat_id'] = $resource['cat_id'];
$this->so->data = $acc; $this->so->save($acc);
$this->so->save();
} }
} }
} }