mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-18 14:31:00 +02:00
search dialog: fix display of current label
This commit is contained in:
parent
6cfa22dcd2
commit
76626c72f8
@ -2866,7 +2866,7 @@
|
|||||||
} else if ($id == -3) {
|
} else if ($id == -3) {
|
||||||
return __("Fresh articles");
|
return __("Fresh articles");
|
||||||
} else if ($id < -10) {
|
} else if ($id < -10) {
|
||||||
$label_id = -10 - $id;
|
$label_id = -$id - 11;
|
||||||
$result = db_query($link, "SELECT description FROM ttrss_labels WHERE id = '$label_id'");
|
$result = db_query($link, "SELECT description FROM ttrss_labels WHERE id = '$label_id'");
|
||||||
if (db_num_rows($result) == 1) {
|
if (db_num_rows($result) == 1) {
|
||||||
return db_fetch_result($result, 0, "description");
|
return db_fetch_result($result, 0, "description");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user