mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 02:35:55 +00:00
fix subcategory query on mysql
This commit is contained in:
@@ -4498,7 +4498,7 @@
|
|||||||
$result = db_query($link, "SELECT
|
$result = db_query($link, "SELECT
|
||||||
id, title FROM ttrss_feed_categories
|
id, title FROM ttrss_feed_categories
|
||||||
WHERE parent_cat = '$cat_id' AND owner_uid = " . $_SESSION["uid"] .
|
WHERE parent_cat = '$cat_id' AND owner_uid = " . $_SESSION["uid"] .
|
||||||
"ORDER BY id, title");
|
" ORDER BY id, title");
|
||||||
|
|
||||||
while ($line = db_fetch_assoc($result)) {
|
while ($line = db_fetch_assoc($result)) {
|
||||||
$unread = getFeedUnread($link, $line["id"], true) +
|
$unread = getFeedUnread($link, $line["id"], true) +
|
||||||
|
|||||||
Reference in New Issue
Block a user