mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:02:54 +00:00
Add default value for potentially missing keyhash property in mod/salmon
This commit is contained in:
parent
52b2f67644
commit
01911d9fc6
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ function salmon_post(App $a, $xml = '') {
|
|||
// stash away some other stuff for later
|
||||
|
||||
$type = $base->data[0]->attributes()->type[0];
|
||||
$keyhash = $base->sig[0]->attributes()->keyhash[0];
|
||||
$keyhash = $base->sig[0]->attributes()->keyhash[0] ?? '';
|
||||
$encoding = $base->encoding;
|
||||
$alg = $base->alg;
|
||||
|
||||
|
|
Loading…
Reference in a new issue