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

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