fix subcategory query on mysql

This commit is contained in:
Andrew Dolgov 2012-09-27 14:06:21 +04:00
parent 6c8a161d8c
commit 07b63daf73
1 changed files with 1 additions and 1 deletions

View File

@ -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) +