diff options
-rw-r--r-- | include/network.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php index fe001b362..de10f1e0e 100644 --- a/include/network.php +++ b/include/network.php @@ -1148,8 +1148,10 @@ function discover_by_webbie($webbie) { if($link['rel'] === PROTOCOL_ZOT) { logger('discover_by_webbie: zot found for ' . $webbie, LOGGER_DEBUG); - if(array_key_exists('zot',$x) && $x['zot']['success']) + if(array_key_exists('zot',$x) && $x['zot']['success']) { $i = import_xchan($x['zot']); + return true; + } else { $z = z_fetch_url($link['href']); if($z['success']) { |