From: Andrew Hunt Date: Wed, 11 Feb 2015 23:04:07 +0000 (-0500) Subject: CRM-15956 - Reports / Smarty: section headers should be case-insensitive X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=85d48a9e309f04e80776b787b5d4b97efd6dd2ca;p=civicrm-core.git CRM-15956 - Reports / Smarty: section headers should be case-insensitive because MySQL ORDER BY is --- diff --git a/CRM/Core/Smarty/plugins/function.isValueChange.php b/CRM/Core/Smarty/plugins/function.isValueChange.php index b2f822e0f2..2297dea5a0 100644 --- a/CRM/Core/Smarty/plugins/function.isValueChange.php +++ b/CRM/Core/Smarty/plugins/function.isValueChange.php @@ -62,7 +62,7 @@ function smarty_function_isValueChange($params, &$smarty) { $is_changed = FALSE; - if (!array_key_exists($params['key'], $values) || $params['value'] != $values[$params['key']]) { + if (!array_key_exists($params['key'], $values) || strcasecmp($params['value'], $values[$params['key']]) !== 0) { // if we have a new value $is_changed = TRUE;