Bug missing language creating provider by API

24 views
Skip to first unread message

Jorge Lloveras

unread,
May 27, 2024, 10:49:29 AMMay 27
to Easy!Appointments - Support Group
Hello, sorry for my english, in the file Providers_model.php in de functions api_decode and api_encode is missing de field language. If you try to create a provider by API, it doesn't take the language field. The bug is in 1.5 alpha 1

FIX
include in api_decode function
         if (array_key_exists('language', $provider)) {
            $decoded_resource['language'] = $provider['language'];
        }

include in  api_encode function in $encoded_resource array
            'language' => $provider['language']


Great app!! Congratulations!!
Jorge

Alex Tselegidis

unread,
May 27, 2024, 11:06:28 AMMay 27
to Easy!Appointments - Support Group
Hello! 

Thanks for posting this. 

It's now fixed on develop and will be part of the next released package.




Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

Reply all
Reply to author
Forward
0 new messages