From 06cc9899977d79f8b74e777ac5f7f32ccc4e207f Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Mon, 12 Jul 2021 15:20:36 -0400 Subject: [PATCH] fixes core#2687: regression on group rebuild scheduled job --- CRM/Contact/BAO/GroupContactCache.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Contact/BAO/GroupContactCache.php b/CRM/Contact/BAO/GroupContactCache.php index 61c40739f0..740ba9b704 100644 --- a/CRM/Contact/BAO/GroupContactCache.php +++ b/CRM/Contact/BAO/GroupContactCache.php @@ -129,6 +129,8 @@ AND ( $groupIDs = (array) $groupIDs; } + // Treat the default help text in Scheduled Jobs as equivalent to no limit. + $limit = (int) $limit; $processGroupIDs = self::getGroupsNeedingRefreshing($groupIDs, $limit); if (!empty($processGroupIDs)) { -- 2.25.1