aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-06 18:25:17 -0700
committerzotlabs <mike@macgirvin.com>2018-05-06 18:25:17 -0700
commit257dcaaf8b56e3db52b62e5b722183aaddeb0a59 (patch)
treecdd32e1693b8cdc6a0e2aa6c5c56be63c36289f9
parenta30934c563457c14606e2ec3194a3ec9713cdbba (diff)
downloadvolse-hubzilla-257dcaaf8b56e3db52b62e5b722183aaddeb0a59.tar.gz
volse-hubzilla-257dcaaf8b56e3db52b62e5b722183aaddeb0a59.tar.bz2
volse-hubzilla-257dcaaf8b56e3db52b62e5b722183aaddeb0a59.zip
minor tweak to last pull: ensure that feeds have a name besides whitespace characters
-rw-r--r--include/network.php2
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",