1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 19:24:02 +00:00

Fix false json decode

This commit is contained in:
Samuel Štancl 2019-08-23 18:12:06 +02:00
parent de9d932885
commit cd5f09e575

View file

@ -385,7 +385,9 @@ final class TenantManager
protected function jsonDecodeArrayValues(array $array)
{
\array_walk($array, function (&$value, $key) {
$value = \json_decode($value, true);
if ($value) {
$value = \json_decode($value, true);
}
});
return $array;