diff options
author | Remi Collet <remi@remirepo.net> | 2019-08-20 14:48:39 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-08-20 14:48:39 +0200 |
commit | e141f93dafe7f79abf69128580dd333ad0e5d1e0 (patch) | |
tree | ab8845385e40c690879d54006db4e2f0b316e2a2 /1187.patch | |
parent | 15a6b5f728c899746ac5c28491309510a09ba6cb (diff) |
add patch for 7.4 from https://github.com/sabre-io/dav/pull/1187
Diffstat (limited to '1187.patch')
-rw-r--r-- | 1187.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/1187.patch b/1187.patch new file mode 100644 index 0000000..c61fc7f --- /dev/null +++ b/1187.patch @@ -0,0 +1,23 @@ +From f3c91ec654abe9774570ca0602a0e4916e3bf5b5 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 20 Aug 2019 11:44:24 +0200 +Subject: [PATCH] fix Trying to access array offset on value of type null in + 7.4 + +--- + lib/DAV/Xml/Property/Href.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/DAV/Xml/Property/Href.php b/lib/DAV/Xml/Property/Href.php +index 2d55e0ace5..d60bd15887 100644 +--- a/lib/DAV/Xml/Property/Href.php ++++ b/lib/DAV/Xml/Property/Href.php +@@ -59,7 +59,7 @@ public function __construct($hrefs) + */ + public function getHref() + { +- return $this->hrefs[0]; ++ return $this->hrefs[0] ?? null; + } + + /** |