]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref-feeds: fix type of Uncategorized category
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Nov 2010 07:14:11 +0000 (10:14 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Nov 2010 07:14:11 +0000 (10:14 +0300)
modules/pref-feeds.php

index 48563812fd0c4b479cca25a2f543c75f580afa1b..bee4b1269d4799b7cca127eec86471dc31833b3e 100644 (file)
@@ -74,7 +74,8 @@
                                $cat['bare_id'] = 0;
                                $cat['name'] = __("Uncategorized");
                                $cat['items'] = array();
-       
+                               $cat['type'] = 'category';
+
                                $feed_result = db_query($link, "SELECT id, title,last_error 
                                        FROM ttrss_feeds
                                        WHERE cat_id IS NULL AND owner_uid = ".$_SESSION["uid"].