From 048c1835466d294e7b13f205307d3fff462e3c15 Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Fri, 31 May 2013 16:25:47 -0700 Subject: [PATCH] CRM-12466 - force will always reevaluate the query, used in tests ---------------------------------------- * CRM-12466: Group listings don't load http://issues.civicrm.org/jira/browse/CRM-12466 --- CRM/Contact/BAO/GroupContactCache.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Contact/BAO/GroupContactCache.php b/CRM/Contact/BAO/GroupContactCache.php index 8dbea8e210..6de0de466e 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; } -- 2.25.1