This commit is contained in:
Almira Krdzic
2018-10-20 00:08:48 +02:00
parent 52fb6dc5d9
commit 4d87551fef
4 changed files with 13 additions and 7 deletions

View File

@@ -73,7 +73,7 @@ class Wiaas_REST_Customer_API {
$customer_shops = array_map(function($customer_shop) {
return array(
'id' => $customer_shop['owner_id'],
'id' => absint($customer_shop['owner_id']),
'type' => $customer_shop['order_type'],
'name' => wiaas_get_organization_name($customer_shop['owner_id'])
);