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

index 678f11311a8279bac246c6fedf9b945702360a11..b54b32accca61e880a2ccddee16cce8c4af720da 100644 (file)
                        while ($line = db_fetch_assoc($result)) {
                        
                                $feed = db_unescape_string($line["title"]);
+
+                               if (!$feed) $feed = "[Untitled]";
+
                                $feed_id = $line["id"];   
        
                                $subop = $_GET["subop"];