diff options
author | Remi Collet <remi@remirepo.net> | 2019-10-01 13:59:36 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-10-01 13:59:36 +0200 |
commit | eccf99a44f6af4ea63520079d35a390bfddd017a (patch) | |
tree | d84b7bc0da585d4f25a46792aefb5368bb442823 /9.patch | |
parent | bd6accf90836b99c2e013f98bb540a7c7dd64512 (diff) |
- add patch for PHP 7.4 from
https://github.com/horde/Imap_Client/pull/9
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 + )); + |