djmaze 2021-12-06 10:50:16 +01:00
parent 13145cd3dc
commit 0331631376
2 changed files with 2 additions and 2 deletions

View file

@ -256,7 +256,7 @@ trait Contacts
'contacts_sync'
);
if (!empty($sData)) {
$aData = \json_decode($sData);
$aData = \json_decode($sData, true);
if ($aData) {
if ($aData['Password']) {
$oMainAccount = $this->getMainAccountFromToken();

View file

@ -124,7 +124,7 @@ abstract class Upgrade
);
if (!empty($sData)) {
$aData = \json_decode($sData);
$aData = \json_decode($sData, true);
if (!$aData) {
$aData = \RainLoop\Utils::DecodeKeyValues($sData);
if ($aData) {