From 45eb71a776944e1a2ada1b9ebd9af0064dfc5744 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 16 May 2007 06:23:33 +0100 Subject: forbid blank feed titles in feedlist (2) --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index b54b32acc..8ce6de89f 100644 --- a/functions.php +++ b/functions.php @@ -3115,7 +3115,7 @@ while ($line = db_fetch_assoc($result)) { - $feed = db_unescape_string($line["title"]); + $feed = trim(db_unescape_string($line["title"])); if (!$feed) $feed = "[Untitled]"; -- cgit v1.2.3