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.
This commit is contained in:
Stephen Paul Weber 2016-02-26 22:06:04 +00:00
parent c67b89e56b
commit 9dc4f13579
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ function linkback_profile($entry, $mf2, $response, $target) {
}
if(!$author) {
$author = array('name' => array($entry['name']));
$author = array('name' => $entry['name']);
}
if(!$author['url']) {