summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-03-24 13:28:20 +0300
committerAndrew Dolgov <[email protected]>2010-03-24 13:28:20 +0300
commited41f171cb003dd21411a6de5408b79752f3549f (patch)
tree5b34c33333f93502693a38ebe5a46be666701a34 /functions.php
parentfa3317be48f0d255ddba75d5ae45b86c163016cc (diff)
catchupArticlesById: return when there are no ids to catchup
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();