mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2025-01-07 14:32:26 +03:00
fix function api_decode
This commit is contained in:
parent
91b75ed706
commit
95988a5c8e
1 changed files with 4 additions and 0 deletions
|
@ -456,6 +456,10 @@ class Services_model extends EA_Model
|
|||
$decoded_resource['currency'] = $service['currency'];
|
||||
}
|
||||
|
||||
if (array_key_exists('color', $service)) {
|
||||
$decoded_resource['color'] = $service['color'];
|
||||
}
|
||||
|
||||
if (array_key_exists('description', $service)) {
|
||||
$decoded_resource['description'] = $service['description'];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue