diff --git a/snappymail/v/0.0.0/app/libraries/snappymail/upgrade.php b/snappymail/v/0.0.0/app/libraries/snappymail/upgrade.php index 8586e1590..715815dad 100644 --- a/snappymail/v/0.0.0/app/libraries/snappymail/upgrade.php +++ b/snappymail/v/0.0.0/app/libraries/snappymail/upgrade.php @@ -130,13 +130,14 @@ abstract class Upgrade if (!$aData) { $aData = static::DecodeKeyValues($sData); if ($aData) { - $oActions->setContactsSyncData($oAccount, $aData); - return array( + $aData = array( 'Mode' => empty($aData['Enable']) ? 0 : 1, 'Url' => isset($aData['Url']) ? \trim($aData['Url']) : '', 'User' => isset($aData['User']) ? \trim($aData['User']) : '', 'Password' => isset($aData['Password']) ? $aData['Password'] : '' ); + $oActions->setContactsSyncData($oAccount, $aData); + return $aData; } } }