Include deleted/held accessories in change to resource

This commit is contained in:
Nathan Gray 2013-01-03 16:35:02 +00:00
parent 3a1c4fb7fb
commit 9b7da1f611

View File

@ -381,8 +381,8 @@ class resources_ui
continue;
}
// Make associated accessories into resources
$accessories = $this->bo->get_acc_list($id);
// Make associated accessories into resources - include deleted
$accessories = $this->bo->get_acc_list($id,true);
foreach($accessories as $acc_id => $name)
{
$acc = $this->bo->read($acc_id);