]> git.wh0rd.org Git - tt-rss.git/commitdiff
getFeedCat respects NULL cat_id
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 21 May 2006 12:18:35 +0000 (13:18 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 21 May 2006 12:18:35 +0000 (13:18 +0100)
functions.php

index 765ff8ce5ba750f7a28c83b053505c061a973452..73ef85774d9296cf513ac1f32abb886d64b30151 100644 (file)
                        if (db_num_rows($result) == 1) {
                                return db_fetch_result($result, 0, "title");
                        } else {
-                               return "Unknown category ($id)";
+                               return "Uncategorized";
                        }
                } else {
                        return "getFeedCatTitle($id) failed";