minor tweak to last pull: ensure that feeds have a name besides whitespace characters
This commit is contained in:
@@ -1103,7 +1103,7 @@ function discover_by_url($url, $arr = null) {
|
|||||||
if(! $name)
|
if(! $name)
|
||||||
$name = notags($feed->get_description());
|
$name = notags($feed->get_description());
|
||||||
|
|
||||||
if(! $name)
|
if(! trim($name))
|
||||||
$name = 'unknown';
|
$name = 'unknown';
|
||||||
|
|
||||||
$r = q("select * from xchan where xchan_hash = '%s' limit 1",
|
$r = q("select * from xchan where xchan_hash = '%s' limit 1",
|
||||||
|
|||||||
Reference in New Issue
Block a user