We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dfa31a commit 13bbe7dCopy full SHA for 13bbe7d
1 file changed
src/Utility/JsonHelper.php
@@ -20,11 +20,11 @@ public static function decodeParams(array $values = []) {
20
}
21
22
if (($decoded = json_decode($value, TRUE)) !== NULL && $decoded != $value) {
23
- return static::decodeParams($decoded);
+ return is_array($decoded) ? static::decodeParams($decoded) : $decoded;
24
25
26
return $value;
27
}, $values);
28
29
30
-}
+}
0 commit comments