Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
djmaze committed Dec 6, 2021
1 parent 13145cd commit 0331631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ protected function getContactsSyncData(\RainLoop\Model\Account $oAccount) : ?arr
'contacts_sync'
);
if (!empty($sData)) {
$aData = \json_decode($sData);
$aData = \json_decode($sData, true);
if ($aData) {
if ($aData['Password']) {
$oMainAccount = $this->getMainAccountFromToken();
Expand Down
2 changes: 1 addition & 1 deletion snappymail/v/0.0.0/app/libraries/snappymail/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public static function ConvertInsecureContactsSync(\RainLoop\Actions $oActions,
);

if (!empty($sData)) {
$aData = \json_decode($sData);
$aData = \json_decode($sData, true);
if (!$aData) {
$aData = \RainLoop\Utils::DecodeKeyValues($sData);
if ($aData) {
Expand Down

0 comments on commit 0331631

Please sign in to comment.