diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-06 18:25:17 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-05-06 18:25:17 -0700 |
commit | 257dcaaf8b56e3db52b62e5b722183aaddeb0a59 (patch) | |
tree | cdd32e1693b8cdc6a0e2aa6c5c56be63c36289f9 /include | |
parent | a30934c563457c14606e2ec3194a3ec9713cdbba (diff) | |
download | volse-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
Diffstat (limited to 'include')
-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", |