From: Andrew Dolgov Date: Thu, 27 Sep 2012 10:06:21 +0000 (+0400) Subject: fix subcategory query on mysql X-Git-Tag: 1.6.0~20 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=07b63daf73e5dc239271501c68ce20b78fcab9a3;p=tt-rss.git fix subcategory query on mysql --- diff --git a/include/functions.php b/include/functions.php index 598b4a33..75ffcc8b 100644 --- a/include/functions.php +++ b/include/functions.php @@ -4498,7 +4498,7 @@ $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) +