* 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 95ea8445b5
commit ee5aba82f4

View File

@ -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);
}
}
}