mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-27 00:52:56 +03:00
Merge pull request #1332 from popod/patch-1
Fix working_plan_exceptions inconsistency when empty
This commit is contained in:
commit
04c7517d0f
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