Remove strtolower as applied to email, test
authoreileen <emcnaughton@wikimedia.org>
Tue, 23 Oct 2018 06:06:00 +0000 (19:06 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 23 Oct 2018 06:06:00 +0000 (19:06 +1300)
CRM/Contact/BAO/Query.php
tests/phpunit/CRM/Contact/BAO/QueryTest.php

index 027d8165dfdf87ad70f24a26c7797ca118b14dc5..80a8b1f068c3f1335f9e45d56339a43892ee0c8b 100644 (file)
@@ -3490,7 +3490,7 @@ WHERE  $smartGroupClause
       return;
     }
 
-    $n = strtolower(trim($value));
+    $n = trim($value);
     if ($n) {
       if (substr($n, 0, 1) == '"' &&
         substr($n, -1, 1) == '"'
index 96c380d3dc69078619c42664590e49afe2b49678..14dcc53a524a5e5d8a7e42f514d2ea86bc1acf72 100644 (file)
@@ -175,7 +175,7 @@ class CRM_Contact_BAO_QueryTest extends CiviUnitTestCase {
         0 => array(
           0 => 'email',
           1 => 'LIKE',
-          2 => 'secondary@example.com',
+          2 => 'sEcondary@example.com',
           3 => 0,
           4 => 1,
         ),