fix subcategory query on mysql
This commit is contained in:
parent
6c8a161d8c
commit
07b63daf73
|
@ -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) +
|
||||
|
|
Loading…
Reference in New Issue