summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index f3b2b1509..ce1813449 100644
--- a/functions.php
+++ b/functions.php
@@ -5974,6 +5974,12 @@
function ccache_update($link, $feed_id, $owner_uid, $is_cat = false,
$update_pcat = true) {
+ /* Labels are no currently supported */
+
+ if ($feed_id < 0) {
+ return -1;
+ }
+
$prev_unread = ccache_find($link, $feed_id, $owner_uid, $is_cat, true);
if (!$is_cat) {