diff --git a/CRM/Contact/BAO/GroupContactCache.php b/CRM/Contact/BAO/GroupContactCache.php index 8dbea8e2106b0cae01e34ace49e612749a64b649..6de0de466efa8c815fdee3cba28af3e8fc03e869 100644 --- a/CRM/Contact/BAO/GroupContactCache.php +++ b/CRM/Contact/BAO/GroupContactCache.php @@ -385,8 +385,7 @@ WHERE id = %1 // done // we allow hidden groups here since we dont know if the caller wants to evaluate an // hidden group - // note that we ignore the force option in this case and rely on someone else having done it - if (! self::shouldGroupBeRefreshed($groupID, FALSE, TRUE)) { + if (!$force && !self::shouldGroupBeRefreshed($groupID, FALSE, TRUE)) { $lock->release(); return; }