fix function api_decode

This commit is contained in:
Clemens Neubauer 2024-08-16 13:33:59 +00:00
parent 91b75ed706
commit 95988a5c8e

View file

@ -456,6 +456,10 @@ class Services_model extends EA_Model
$decoded_resource['currency'] = $service['currency']; $decoded_resource['currency'] = $service['currency'];
} }
if (array_key_exists('color', $service)) {
$decoded_resource['color'] = $service['color'];
}
if (array_key_exists('description', $service)) { if (array_key_exists('description', $service)) {
$decoded_resource['description'] = $service['description']; $decoded_resource['description'] = $service['description'];
} }