diff options
author | Andrew Dolgov <[email protected]> | 2010-03-24 13:28:20 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-03-24 13:28:20 +0300 |
commit | ed41f171cb003dd21411a6de5408b79752f3549f (patch) | |
tree | 5b34c33333f93502693a38ebe5a46be666701a34 | |
parent | fa3317be48f0d255ddba75d5ae45b86c163016cc (diff) |
catchupArticlesById: return when there are no ids to catchup
-rw-r--r-- | functions.php | 1 |
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(); |