From d1d8d0833a51ce949d6be9287305522bbbe5d0ab Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 6 Oct 2021 09:11:59 +0200 Subject: [PATCH] fix PHP 8.0 sending mail: Illegal offset type in isset or empty --- mail/inc/class.mail_compose.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index a723aa10ae..0a6078d3d4 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -551,7 +551,7 @@ class mail_compose } if ($sendOK) { - $workingFolder = $activeFolder; + $workingFolder = $activeFolder['mailbox']; $mode = 'compose'; $idsForRefresh = array(); if (isset($_content['mode']) && !empty($_content['mode']))