https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add default value for potentially missing keyhash property in mod/salmon
[friendica.git/.git]
/
mod
/
salmon.php
diff --git
a/mod/salmon.php
b/mod/salmon.php
index
ea5c334
..
bc44104
100644
(file)
--- 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;