summaryrefslogtreecommitdiff
path: root/include/labels.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/labels.php')
-rw-r--r--include/labels.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/labels.php b/include/labels.php
index 75936007e..5ac8794d9 100644
--- a/include/labels.php
+++ b/include/labels.php
@@ -158,7 +158,7 @@
/* Remove access key for the label */
- $ext_id = -11 - $id;
+ $ext_id = LABEL_BASE_INDEX - 1 - $id;
db_query($link, "DELETE FROM ttrss_access_keys WHERE
feed_id = '$ext_id' AND owner_uid = $owner_uid");