Fix warning "supplied key param cannot be coerced into a public key"
This commit is contained in:
parent
1414d43597
commit
a548e7c4be
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ class HTTPSignature
|
|||
|
||||
$key = self::fetchKey($sig_block['keyId'], $actor);
|
||||
|
||||
if (empty($key)) {
|
||||
if (empty($key) || empty($key['pubkey'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue