mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03: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'
|
'contacts_sync'
|
||||||
);
|
);
|
||||||
if (!empty($sData)) {
|
if (!empty($sData)) {
|
||||||
$aData = \json_decode($sData);
|
$aData = \json_decode($sData, true);
|
||||||
if ($aData) {
|
if ($aData) {
|
||||||
if ($aData['Password']) {
|
if ($aData['Password']) {
|
||||||
$oMainAccount = $this->getMainAccountFromToken();
|
$oMainAccount = $this->getMainAccountFromToken();
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@ abstract class Upgrade
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!empty($sData)) {
|
if (!empty($sData)) {
|
||||||
$aData = \json_decode($sData);
|
$aData = \json_decode($sData, true);
|
||||||
if (!$aData) {
|
if (!$aData) {
|
||||||
$aData = \RainLoop\Utils::DecodeKeyValues($sData);
|
$aData = \RainLoop\Utils::DecodeKeyValues($sData);
|
||||||
if ($aData) {
|
if ($aData) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue