From 257dcaaf8b56e3db52b62e5b722183aaddeb0a59 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 6 May 2018 18:25:17 -0700 Subject: minor tweak to last pull: ensure that feeds have a name besides whitespace characters --- include/network.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/network.php') diff --git a/include/network.php b/include/network.php index b0bda1f9d..ceba56e06 100644 --- a/include/network.php +++ b/include/network.php @@ -1103,7 +1103,7 @@ function discover_by_url($url, $arr = null) { if(! $name) $name = notags($feed->get_description()); - if(! $name) + if(! trim($name)) $name = 'unknown'; $r = q("select * from xchan where xchan_hash = '%s' limit 1", -- cgit v1.2.3