summaryrefslogtreecommitdiff
path: root/include/labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-27 09:40:07 +0400
committerAndrew Dolgov <[email protected]>2013-03-27 09:40:07 +0400
commitf822a8e56c747a168e69c73d8519d8b08b3ae809 (patch)
treeb9ed1f6ac1fe54bde7562ccc74abdfbaba3b0864 /include/labels.php
parent260501fddde2998647fbca0b80d0d9903b0578b3 (diff)
experimentally rebase labels; make base index configurable
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");