diff options
-rw-r--r-- | include/network.php | 2 |
1 files changed, 1 insertions, 1 deletions
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", |