mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
Fix working_plan_exceptions inconsistency when empty
This commit is contained in:
parent
30c55a4666
commit
e53683863d
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ class Providers_model extends EA_Model {
|
||||||
|
|
||||||
krsort($value);
|
krsort($value);
|
||||||
|
|
||||||
$value = json_encode($value);
|
$value = json_encode(empty($value) ? new stdClass() : $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->set_setting($provider_id, $name, $value);
|
$this->set_setting($provider_id, $name, $value);
|
||||||
|
|
Loading…
Reference in a new issue