Skip to content

Commit aa253c2

Browse files
committed
COLLATE NOCASE on udger_devicename_list
1 parent c8ccedb commit aa253c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ public function parse()
435435
$qC=$this->dbdat->query("SELECT marketname,brand_code,brand,brand_url,icon,icon_big
436436
FROM udger_devicename_list
437437
JOIN udger_devicename_brand ON udger_devicename_brand.id=udger_devicename_list.brand_id
438-
WHERE regex_id=".$r["id"]." and code = '".trim($result[1])."' ");
438+
WHERE regex_id=".$r["id"]." and code = '".trim($result[1])."' COLLATE NOCASE ");
439439

440440
if($rC = $qC->fetchArray(SQLITE3_ASSOC)) {
441441
$this->logger->debug("parse useragent string: device marketname found");

0 commit comments

Comments
 (0)