X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsalmon.php;h=bc4410434bbf362c14eee893fca773ade3bb0d70;hb=dfa177e9404cc6c34a1d6ba089c7c322ecb56f33;hp=ea5c334c0807a0460c54769fcee323b67035817c;hpb=b9873a88a5bb19f2d493739a072c6ac3f745e76e;p=friendica.git diff --git a/mod/salmon.php b/mod/salmon.php index ea5c334c08..bc4410434b 100644 --- a/mod/salmon.php +++ b/mod/salmon.php @@ -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;