From 98881a0cbd74936240d7f9afcba7223d60d64241 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 16 Jun 2020 19:06:26 +0200 Subject: [PATCH] Small code simplification --- program/steps/mail/sendmail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 19773656b..d926b1741 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -297,7 +297,7 @@ if ($savedraft) { // remember new draft-uid ($saved could be an UID or true/false here) if ($saved && is_bool($saved)) { $index = $RCMAIL->storage->search_once($drafts_mbox, 'HEADER Message-ID ' . $message_id); - $saved = @max($index->get()); + $saved = $index->max(); } if ($saved) {