From 8211bc09d4ecb9af530826a105a1bd102feb9f2e Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 21 May 2021 06:54:37 +0000 Subject: remove todo since the zot6 xchan should be merely imported in this case. also only return if we already have a result. --- include/items.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/items.php b/include/items.php index 63edae972..d6dd517ba 100644 --- a/include/items.php +++ b/include/items.php @@ -983,10 +983,12 @@ function import_author_xchan($x) { ); // TODO: fix dupplicate with line 960 if(!$r) - discover_by_webbie($x['url'], 'zot6'); //TODO use the return of discover_by_webbie + discover_by_webbie($x['url'], 'zot6'); } - return $y; + if($y) + return $y; + } // perform zot6 discovery -- cgit v1.2.3