Merge pull request #1332 from popod/patch-1

Fix working_plan_exceptions inconsistency when empty
This commit is contained in:
Alex Tselegidis 2022-12-12 09:12:09 +01:00 committed by GitHub
commit 04c7517d0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);