summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 28f49b61e..bc5204903 100644
--- a/functions.php
+++ b/functions.php
@@ -4069,6 +4069,7 @@
function catchupArticlesById($link, $ids, $cmode, $owner_uid = false) {
if (!$owner_uid) $owner_uid = $_SESSION["uid"];
+ if (count($ids) == 0) return;
$tmp_ids = array();