CheckStyle Result fixes
authorunknown <ajc275@LT010247.internal.admin.cam.ac.uk>
Wed, 27 May 2015 13:56:29 +0000 (14:56 +0100)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 15 Jul 2015 10:01:37 +0000 (15:31 +0530)
CRM/Core/BAO/CustomQuery.php

index b3f86c5059ea71c3a1f267cadf37ac2f71a08908..e7842491a5e82d55c0172f5e965f9994b45e0678 100644 (file)
@@ -407,12 +407,13 @@ SELECT label, value
                 'Multi-Select State/Province',
                 'Multi-Select Country',
               );
-               
+
               if (in_array($field['html_type'], $specialHTMLType)) {
-                $val = "[[:cntrl:]]".$val."[[:cntrl:]]";
+                $val = "[[:cntrl:]]" . $val . "[[:cntrl:]]";
                 $op  = 'RLIKE';
 
-              } elseif ($wildcard) {
+              }
+                         elseif ($wildcard) {
                 $val = "[[:cntrl:]]%$val%[[:cntrl:]]";
                 $op = 'LIKE';
               }