From 61e0a282041ac0d6925ecce6d06f8fd931613d25 Mon Sep 17 00:00:00 2001 From: Anojh Thayaparan Date: Wed, 30 Jan 2019 12:45:59 -0800 Subject: [PATCH] fix closing brace Signed-off-by: Anojh Thayaparan --- lib/imap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imap.php b/lib/imap.php index 5e8dd75..3193eb8 100644 --- a/lib/imap.php +++ b/lib/imap.php @@ -69,7 +69,7 @@ class OC_User_IMAP extends \OCA\user_external\Base { $mbox = @imap_open($this->mailbox, $username, $password, OP_HALFOPEN, 1); $imapErrors = imap_errors(); $imapAlerts = imap_alerts(); - if (!empty($imapErrors) { + if (!empty($imapErrors)) { OC::$server->getLogger()->error( 'ERROR: IMAP Error: ' . print_r($imapErrors, true), ['app' => 'user_external']