diff options
author | Remi Collet <remi@remirepo.net> | 2019-10-11 09:26:44 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-10-11 09:26:44 +0200 |
commit | 51e1bf8ff085d14a5b7692c002bf74903e80b9fb (patch) | |
tree | d5fdfdc238687153a242266f935b3e6af3913c1e /php-sabre-http-php74.patch | |
parent | ff033b4ed78262f6999ba329e149576ace36862d (diff) |
Diffstat (limited to 'php-sabre-http-php74.patch')
-rw-r--r-- | php-sabre-http-php74.patch | 11 |
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() { |