From 0738f13dbc78e0469ddad5f7b4a36f6e2a56c59d Mon Sep 17 00:00:00 2001 From: Kieran Brahney Date: Mon, 12 Dec 2022 14:22:51 +0000 Subject: [PATCH] Fix Mailbox testBadInput test on PHP 8.2 --- lib/Horde/Imap/Client/Data/Format/Mailbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Horde/Imap/Client/Data/Format/Mailbox.php b/lib/Horde/Imap/Client/Data/Format/Mailbox.php index c7476af96..881cd81ea 100644 --- a/lib/Horde/Imap/Client/Data/Format/Mailbox.php +++ b/lib/Horde/Imap/Client/Data/Format/Mailbox.php @@ -44,7 +44,7 @@ public function __construct($data) { $this->_mailbox = Horde_Imap_Client_Mailbox::get($data); - parent::__construct($this->_mailbox->{$this->_encoding}); + parent::__construct($this->_mailbox->utf8); } /**