mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-27 09:03:09 +03:00
Add missing language field from API encoding/decoding
This commit is contained in:
parent
ff4657fce6
commit
81a2f65e87
1 changed files with 5 additions and 0 deletions
|
@ -766,6 +766,7 @@ class Providers_model extends EA_Model
|
|||
'is_private' => $provider['is_private'],
|
||||
'ldapDn' => $provider['ldap_dn'],
|
||||
'timezone' => $provider['timezone'],
|
||||
'language' => $provider['language'],
|
||||
];
|
||||
|
||||
if (array_key_exists('services', $provider)) {
|
||||
|
@ -877,6 +878,10 @@ class Providers_model extends EA_Model
|
|||
$decoded_resource['timezone'] = $provider['timezone'];
|
||||
}
|
||||
|
||||
if (array_key_exists('language', $provider)) {
|
||||
$decoded_resource['language'] = $provider['language'];
|
||||
}
|
||||
|
||||
if (array_key_exists('services', $provider)) {
|
||||
$decoded_resource['services'] = $provider['services'];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue