From 0ce29dae24abf9bce1bc30291665f23e46bc11de Mon Sep 17 00:00:00 2001 From: djmaze Date: Mon, 8 Nov 2021 13:56:49 +0100 Subject: [PATCH] Bugfix undefined aResult --- snappymail/v/0.0.0/app/libraries/RainLoop/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Utils.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Utils.php index bf1687384..037be1272 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Utils.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Utils.php @@ -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(); } }