minor tweak to last pull: ensure that feeds have a name besides whitespace characters

This commit is contained in:
zotlabs 2018-05-06 18:25:17 -07:00
parent a30934c563
commit 257dcaaf8b

View File

@ -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",