diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-10-25 19:06:17 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-10-25 19:06:17 +0200 |
commit | 221b31bcc6f16510c0f242e96ac696b2dd0eca58 (patch) | |
tree | 98b52d9fd582a715128665ffb2b7262f3e212289 /Zotlabs/Web/HTTPSig.php | |
parent | 8879776d6436ed5257648a1873ddaa9486b25070 (diff) | |
download | volse-hubzilla-221b31bcc6f16510c0f242e96ac696b2dd0eca58.tar.gz volse-hubzilla-221b31bcc6f16510c0f242e96ac696b2dd0eca58.tar.bz2 volse-hubzilla-221b31bcc6f16510c0f242e96ac696b2dd0eca58.zip |
fix php warnings
Diffstat (limited to 'Zotlabs/Web/HTTPSig.php')
-rw-r--r-- | Zotlabs/Web/HTTPSig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Web/HTTPSig.php b/Zotlabs/Web/HTTPSig.php index 9ff0267c3..0ab315eee 100644 --- a/Zotlabs/Web/HTTPSig.php +++ b/Zotlabs/Web/HTTPSig.php @@ -631,7 +631,7 @@ class HTTPSig { if (preg_match('/signature="(.*?)"/ism', $header, $matches)) $ret['signature'] = base64_decode(preg_replace('/\s+/', '', $matches[1])); - if (($ret['signature']) && ($ret['algorithm']) && (!$ret['headers'])) + if (isset($ret['signature']) && isset($ret['algorithm']) && !isset($ret['headers'])) $ret['headers'] = ['date']; return $ret; |