sforkowany z mirror/friendica
Fix warning "supplied key param cannot be coerced into a public key"
rodzic
1414d43597
commit
a548e7c4be
|
@ -544,7 +544,7 @@ class HTTPSignature
|
||||||
|
|
||||||
$key = self::fetchKey($sig_block['keyId'], $actor);
|
$key = self::fetchKey($sig_block['keyId'], $actor);
|
||||||
|
|
||||||
if (empty($key)) {
|
if (empty($key) || empty($key['pubkey'])) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue