Merge branch 'fix-author-fallback' into 'nightly'
Fix author fallback Previously if there was no discernable author the nickname "Array" would end up used. This was a bug, obviously. It is fixed now. See merge request !111
This commit is contained in:
commit
b9a11f8c21
@ -284,7 +284,7 @@ function linkback_profile($entry, $mf2, $response, $target) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!$author) {
|
if(!$author) {
|
||||||
$author = array('name' => array($entry['name']));
|
$author = array('name' => $entry['name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$author['url']) {
|
if(!$author['url']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user