]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix subcategory query on mysql
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 27 Sep 2012 10:06:21 +0000 (14:06 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 27 Sep 2012 10:06:21 +0000 (14:06 +0400)
include/functions.php

index 598b4a3398c96683180b87bb76303159d8fbbc77..75ffcc8bf341b0e1dcb4165237052a7c203f4075 100644 (file)
                                $result = db_query($link, "SELECT
                                        id, title FROM ttrss_feed_categories
                                        WHERE parent_cat = '$cat_id' AND owner_uid = " . $_SESSION["uid"] .
-                                       "ORDER BY id, title");
+                               ORDER BY id, title");
 
                                while ($line = db_fetch_assoc($result)) {
                                        $unread = getFeedUnread($link, $line["id"], true) +