]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Fix: search was not lc.
authorwbudic <redacted>
Wed, 14 Nov 2018 16:09:20 +0000 (03:09 +1100)
committerwbudic <redacted>
Wed, 14 Nov 2018 16:09:20 +0000 (03:09 +1100)
htdocs/cgi-bin/main.cgi

index 6feeb6f57580bb33adb0d7567362ee059f518f98..6838da7fc69a1892d99badac1ae231d604990eb2 100755 (executable)
@@ -87,7 +87,7 @@ if($rs_keys){
        if(@keywords){
                foreach (@keywords)
                {
-                       $stm = $stm . " LOWER(LOG) REGEXP '\\b" .$_."\\b'";
+                       $stm = $stm . " LOWER(LOG) REGEXP '\\b" . lc $_."\\b'";
                        if(  \$_ != \$keywords[-1]  ) {
                                $stm = $stm." OR ";
                        }