From 746b249f9515dd2fa55a99f292e25fa6be69029b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 Dec 2005 10:57:01 +0100 Subject: set title to [Unknown] for newly added feeds, instead of blank string --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.php') 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'"); -- cgit v1.2.3