MT#6979 API: expose id field in pbx device items

ipeshinskaya/InvoiceTemplate5
Andreas Granig 12 years ago
parent bd9e9ac354
commit bffe93f359

@ -60,6 +60,7 @@ sub resource_from_item {
run => 0,
);
$resource{id} = int($item->id);
return \%resource;
}

@ -59,8 +59,9 @@ sub resource_from_item {
resource => \%resource,
run => 0,
);
$resource{reseller_id} = $item->reseller_id + 0;
$resource{reseller_id} = int($item->reseller_id);
$resource{id} = int($item->id);
return \%resource;
}

@ -60,6 +60,7 @@ sub resource_from_item {
run => 0,
);
$resource{id} = int($item->id);
return \%resource;
}

Loading…
Cancel
Save