From dca9da6eb092aa4724009b1e531baa9e9b4998b1 Mon Sep 17 00:00:00 2001 From: KarinG Date: Fri, 2 May 2014 20:41:16 -0600 Subject: [PATCH] Fixed wording of commentary. --- CRM/Utils/String.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/String.php b/CRM/Utils/String.php index 7737396087..7f7afd6e1f 100644 --- a/CRM/Utils/String.php +++ b/CRM/Utils/String.php @@ -672,7 +672,7 @@ class CRM_Utils_String { */ public static function compareStr($strOne, $strTwo, $case) { if ($case == TRUE) { - // convert to lowercase and strip of empty white spaces + // Convert to lowercase and trim white spaces if (strtolower(trim($strOne)) == strtolower(trim($strTwo))) { // yes - they are identical return TRUE; @@ -683,7 +683,7 @@ class CRM_Utils_String { } } if ($case == FALSE) { - // convert to lowercase and strip of empty white spaces + // Trim white spaces if (trim($strOne) == trim($strTwo)) { // yes - they are identical return TRUE; -- 2.25.1