Bugfix undefined aResult

This commit is contained in:
djmaze 2021-11-08 13:56:49 +01:00
parent 32699c5446
commit 0ce29dae24

View file

@ -78,7 +78,7 @@ class Utils
try {
return \json_decode($sDecodedValues, true, 512, JSON_THROW_ON_ERROR) ?: array();
} catch (\Throwable $e) {
return \unserialize($aResult) ?: array();
return \unserialize($sDecodedValues) ?: array();
}
}