CRM-12466 - Fix missing var (follow up to #927)
authorTim Otten <totten@civicrm.org>
Thu, 6 Jun 2013 02:24:45 +0000 (22:24 -0400)
committerTim Otten <totten@civicrm.org>
Thu, 6 Jun 2013 02:24:45 +0000 (22:24 -0400)
----------------------------------------
* CRM-12466: Group listings don't load
  http://issues.civicrm.org/jira/browse/CRM-12466

CRM/Contact/BAO/GroupContactCache.php

index 6de0de466efa8c815fdee3cba28af3e8fc03e869..bf1aeb7eade3f4bc37441079b9b2ea4bf28c111b 100644 (file)
@@ -169,7 +169,7 @@ AND     ( g.cache_date IS NULL OR
 
     if (!empty($refreshGroupIDs)) {
       $refreshGroupIDString = CRM_Core_DAO::escapeString(implode(', ', $refreshGroupIDs));
-      $time  = CRM_Utils_Date::getUTCTime($smartGroupCacheTimeout * 60);
+      $time  = CRM_Utils_Date::getUTCTime(self::smartGroupCacheTimeout() * 60);
       $query = "
 UPDATE civicrm_group g
 SET    g.refresh_date = $time