mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 05:14:03 +00:00
Fix false json decode
This commit is contained in:
parent
de9d932885
commit
cd5f09e575
1 changed files with 3 additions and 1 deletions
|
|
@ -385,7 +385,9 @@ final class TenantManager
|
||||||
protected function jsonDecodeArrayValues(array $array)
|
protected function jsonDecodeArrayValues(array $array)
|
||||||
{
|
{
|
||||||
\array_walk($array, function (&$value, $key) {
|
\array_walk($array, function (&$value, $key) {
|
||||||
$value = \json_decode($value, true);
|
if ($value) {
|
||||||
|
$value = \json_decode($value, true);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return $array;
|
return $array;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue