Skip to content
Snippets Groups Projects
Commit dd7891b1 authored by lobo's avatar lobo
Browse files

Merge pull request #446 from pratik-joshi/CRM-12348_qa

fix for notice found while QA of CRM-12348, and added a missing execute ...
parents 7a1739b0 82a837e9
Branches
Tags
No related merge requests found
......@@ -123,7 +123,7 @@ AND ( g.cache_date IS NULL OR
}
if (!empty($refreshGroupIDs)) {
$refreshGroupIDString = CRM_Core_DAO::escapeString(implode(', ', $refreshGroupIDString));
$refreshGroupIDString = CRM_Core_DAO::escapeString(implode(', ', $refreshGroupIDs));
$time = CRM_Utils_Date::getUTCTime('YmdHis', $smartGroupCacheTimeout * 60);
$query = "
UPDATE civicrm_group g
......@@ -131,6 +131,7 @@ SET g.refresh_date = $time
WHERE g.id IN ( {$refreshGroupIDString} )
AND g.refresh_date IS NULL
";
CRM_Core_DAO::executeQuery($query);
}
if (empty($processGroupIDs)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment