summaryrefslogtreecommitdiffstats
path: root/php-sabre-http-php74.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-sabre-http-php74.patch')
-rw-r--r--php-sabre-http-php74.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/php-sabre-http-php74.patch b/php-sabre-http-php74.patch
index 38cfe2f..9a85b11 100644
--- a/php-sabre-http-php74.patch
+++ b/php-sabre-http-php74.patch
@@ -14,7 +14,16 @@ diff --git a/lib/Auth/Digest.php b/lib/Auth/Digest.php
index 23c28f8..dd35a0b 100644
--- a/lib/Auth/Digest.php
+++ b/lib/Auth/Digest.php
-@@ -135,6 +135,10 @@
+@@ -124,7 +124,7 @@ class Digest extends AbstractAuth {
+ */
+ function getUsername() {
+
+- return $this->digestParts['username'];
++ return (isset($this->digestParts['username']) ? $this->digestParts['username'] : null);
+
+ }
+
+@@ -135,6 +135,10 @@ class Digest extends AbstractAuth {
*/
protected function validate() {