From 7733e5a2a584d19e84beffae7fed4543338104df Mon Sep 17 00:00:00 2001 From: Nileema Date: Mon, 21 Apr 2014 10:28:25 +0530 Subject: [PATCH] --Variable name fix --- CRM/Case/PseudoConstant.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Case/PseudoConstant.php b/CRM/Case/PseudoConstant.php index 936ffb9185..5f00dbd311 100644 --- a/CRM/Case/PseudoConstant.php +++ b/CRM/Case/PseudoConstant.php @@ -89,16 +89,16 @@ class CRM_Case_PseudoConstant extends CRM_Core_PseudoConstant { * @return array - array reference of all case statues * @static */ - public static function caseStatus($column = 'label', $onlyActive = TRUE, $condition = NULL, $cache = FALSE) { + public static function caseStatus($column = 'label', $onlyActive = TRUE, $condition = NULL, $fresh = FALSE) { $cacheKey = "{$column}_" . (int)$onlyActive; if (!$condition) { $condition = 'AND filter = 0'; } - if (!isset(self::$caseStatus[$cacheKey]) || $cache) { + if (!isset(self::$caseStatus[$cacheKey]) || $fresh) { self::$caseStatus[$cacheKey] = CRM_Core_OptionGroup::values('case_status', FALSE, FALSE, FALSE, $condition, - $column, $onlyActive, $cache + $column, $onlyActive, $fresh ); } -- 2.25.1