]> git.wh0rd.org Git - tt-rss.git/commitdiff
forbid blank feed titles in feedlist (2)
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 May 2007 05:23:33 +0000 (06:23 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 May 2007 05:23:33 +0000 (06:23 +0100)
functions.php

index b54b32accca61e880a2ccddee16cce8c4af720da..8ce6de89f5776ca44ae5c667268b28e23b20b225 100644 (file)
        
                        while ($line = db_fetch_assoc($result)) {
                        
-                               $feed = db_unescape_string($line["title"]);
+                               $feed = trim(db_unescape_string($line["title"]));
 
                                if (!$feed) $feed = "[Untitled]";