summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-05 08:19:52 +0100
committerAndrew Dolgov <[email protected]>2008-05-05 08:19:52 +0100
commit76626c72f81fcdb0f562bfbdfdf51b7e735dc42d (patch)
treeb1929bccbdfb4c5511fd9ccde3e12582af266644 /functions.php
parent6cfa22dcd20c89e64815b392538c1547fa014de7 (diff)
search dialog: fix display of current label
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 4ed1f4b66..a815d4947 100644
--- a/functions.php
+++ b/functions.php
@@ -2866,7 +2866,7 @@
} else if ($id == -3) {
return __("Fresh articles");
} 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'");
if (db_num_rows($result) == 1) {
return db_fetch_result($result, 0, "description");