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();