diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/ServiceActions.php b/snappymail/v/0.0.0/app/libraries/RainLoop/ServiceActions.php index edad11c62..8272808e3 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/ServiceActions.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/ServiceActions.php @@ -146,6 +146,8 @@ class ServiceActions } if (\is_array($aResponse)) { + // Everything must converted to array + $aResponse = \json_decode(Utils::jsonEncode($aResponse), true); $this->Plugins()->RunHook("json.after-{$sAction}", array(&$aResponse)); }