From ea8a9a0741861d1c92e0baa505c8656b9dd7abe3 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 4 Apr 2023 10:36:28 +0200 Subject: [PATCH] Resolve #1060 --- snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php index f32588d9b..e28259a1a 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php @@ -1068,7 +1068,7 @@ class Actions { $oAccount = $this->getAccountFromToken(); - if (!$this->ImapClient()->IsLoggined()) { + if ($oAccount && !$this->ImapClient()->IsLoggined()) { try { $oAccount->ImapConnectAndLogin($this->oPlugins, $this->ImapClient(), $this->oConfig); } catch (\MailSo\Net\Exceptions\ConnectionException $oException) {