forked from mirrors/easyappointments
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);
|
||||
|
||||
$value = json_encode($value);
|
||||
$value = json_encode(empty($value) ? new stdClass() : $value);
|
||||
}
|
||||
|
||||
$this->set_setting($provider_id, $name, $value);
|
||||
|
|
Loading…
Reference in a new issue