mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-09 16:28:00 +08:00
This commit is contained in:
parent
13145cd3dc
commit
0331631376
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue