From 85d48a9e309f04e80776b787b5d4b97efd6dd2ca Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Wed, 11 Feb 2015 18:04:07 -0500 Subject: [PATCH] CRM-15956 - Reports / Smarty: section headers should be case-insensitive because MySQL ORDER BY is --- CRM/Core/Smarty/plugins/function.isValueChange.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1