From ed41f171cb003dd21411a6de5408b79752f3549f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 24 Mar 2010 13:28:20 +0300 Subject: [PATCH] catchupArticlesById: return when there are no ids to catchup --- functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.php b/functions.php index 28f49b61..bc520490 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(); -- 2.39.5