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:
mmn 2016-02-28 18:42:36 +00:00
commit b9a11f8c21

View File

@ -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']) {