aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web/HTTPSig.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Web/HTTPSig.php')
-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;