From 9dc4f13579c6cb6c681061ac7350e77bb0c71248 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Fri, 26 Feb 2016 22:06:04 +0000 Subject: [PATCH] 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. --- plugins/Linkback/lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Linkback/lib/util.php b/plugins/Linkback/lib/util.php index 2f024dd233..cd0476ceef 100644 --- a/plugins/Linkback/lib/util.php +++ b/plugins/Linkback/lib/util.php @@ -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']) {