Skip to content
Snippets Groups Projects
Commit 79942ca7 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #964 from totten/4.3-smartgroupcache-missingvar

CRM-12466 - Fix missing var
parents c25cbd3a 634366e7
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,7 @@ AND ( g.cache_date IS NULL OR ...@@ -169,7 +169,7 @@ AND ( g.cache_date IS NULL OR
if (!empty($refreshGroupIDs)) { if (!empty($refreshGroupIDs)) {
$refreshGroupIDString = CRM_Core_DAO::escapeString(implode(', ', $refreshGroupIDs)); $refreshGroupIDString = CRM_Core_DAO::escapeString(implode(', ', $refreshGroupIDs));
$time = CRM_Utils_Date::getUTCTime($smartGroupCacheTimeout * 60); $time = CRM_Utils_Date::getUTCTime(self::smartGroupCacheTimeout() * 60);
$query = " $query = "
UPDATE civicrm_group g UPDATE civicrm_group g
SET g.refresh_date = $time SET g.refresh_date = $time
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment