Skip to content

Commit a4a93ab

Browse files
undefined offset 0 MysqliDb.php line 559 ThingEngineer#937
1 parent 309f927 commit a4a93ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MysqliDb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ private function queryUnprepared($query)
553553
public function rawAddPrefix($query){
554554
$query = str_replace(PHP_EOL, '', $query);
555555
$query = preg_replace('/\s+/', ' ', $query);
556-
preg_match_all("/(from|into|update|join|describe) [\\'\\´]?([a-zA-Z0-9_-]+)[\\'\\´]?/i", $query, $matches);
556+
preg_match_all("/(from|into|update|join|describe) [\\'\\´\\`]?([a-zA-Z0-9_-]+)[\\'\\´\\`]?/i", $query, $matches);
557557
list($from_table, $from, $table) = $matches;
558558

559559
// Check if there are matches

0 commit comments

Comments
 (0)