aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2022-10-25 19:06:17 +0200
committerMario Vavti <mario@mariovavti.com>2022-10-25 19:06:17 +0200
commit221b31bcc6f16510c0f242e96ac696b2dd0eca58 (patch)
tree98b52d9fd582a715128665ffb2b7262f3e212289 /Zotlabs/Web
parent8879776d6436ed5257648a1873ddaa9486b25070 (diff)
downloadvolse-hubzilla-221b31bcc6f16510c0f242e96ac696b2dd0eca58.tar.gz
volse-hubzilla-221b31bcc6f16510c0f242e96ac696b2dd0eca58.tar.bz2
volse-hubzilla-221b31bcc6f16510c0f242e96ac696b2dd0eca58.zip
fix php warnings
Diffstat (limited to 'Zotlabs/Web')
-rw-r--r--Zotlabs/Web/HTTPSig.php2
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;