From: Andrew Dolgov Date: Wed, 24 Mar 2010 10:28:20 +0000 (+0300) Subject: catchupArticlesById: return when there are no ids to catchup X-Git-Tag: 1.4.2~19 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ed41f171cb003dd21411a6de5408b79752f3549f;p=tt-rss.git catchupArticlesById: return when there are no ids to catchup --- 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();