X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsalmon.php;h=bc4410434bbf362c14eee893fca773ade3bb0d70;hb=6001c34525867a0aa614dbc020dcbc485e515345;hp=ea5c334c0807a0460c54769fcee323b67035817c;hpb=dc5838ecf9ae0b0f6c7ac84af7985a863d495a46;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;