diff options
author | Andrew Dolgov <[email protected]> | 2005-12-20 10:57:01 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-20 10:57:01 +0100 |
commit | 746b249f9515dd2fa55a99f292e25fa6be69029b (patch) | |
tree | e8206e97fbc93270b97bcd38892861501b09a11b /functions.php | |
parent | dd0e372803c27b133bc45a67be49dd54040f6c52 (diff) |
set title to [Unknown] for newly added feeds, instead of blank string
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 78238a069..b54789fa2 100644 --- a/functions.php +++ b/functions.php @@ -216,7 +216,7 @@ check_feed_favicon($feed_url, $feed, $link); } - if (!$registered_title) { + if (!$registered_title || $registered_title == "[Unknown]") { $feed_title = db_escape_string($rss->channel["title"]); db_query($link, "UPDATE ttrss_feeds SET title = '$feed_title' WHERE id = '$feed'"); |