diff options
Diffstat (limited to '9.patch')
-rw-r--r-- | 9.patch | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,22 @@ +From fac0813d75d9ab552985667eb4ed74f188679e65 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 1 Oct 2019 13:38:23 +0200 +Subject: [PATCH] Trying to access array offset on value of type null (7.4) + +--- + lib/Horde/Imap/Client/Socket/ClientSort.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Horde/Imap/Client/Socket/ClientSort.php b/lib/Horde/Imap/Client/Socket/ClientSort.php +index 4030492a..a93853ab 100644 +--- a/lib/Horde/Imap/Client/Socket/ClientSort.php ++++ b/lib/Horde/Imap/Client/Socket/ClientSort.php +@@ -110,7 +110,7 @@ public function clientSort($res, $opts) + } + + $mbox = $this->_socket->currentMailbox(); +- $fetch_res = $this->_socket->fetch($mbox['mailbox'], $query, array( ++ $fetch_res = $this->_socket->fetch(isset($mbox['mailbox']) ? $mbox['mailbox'] : null, $query, array( + 'ids' => $res + )); + |