catchupArticlesById: return when there are no ids to catchup

This commit is contained in:
Andrew Dolgov 2010-03-24 13:28:20 +03:00
parent fa3317be48
commit ed41f171cb
1 changed files with 1 additions and 0 deletions

View File

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