diff --git a/MysqliDb.php b/MysqliDb.php index ab88d03..b44f516 100644 --- a/MysqliDb.php +++ b/MysqliDb.php @@ -553,7 +553,7 @@ private function queryUnprepared($query) public function rawAddPrefix($query){ $query = str_replace(PHP_EOL, '', $query); $query = preg_replace('/\s+/', ' ', $query); - preg_match_all("/(from|into|update|join|describe) [\\'\\´]?([a-zA-Z0-9_-]+)[\\'\\´]?/i", $query, $matches); + preg_match_all("/(from|into|update|join|describe) [\\'\\´\\`]?([a-zA-Z0-9_-]+)[\\'\\´\\`]?/i", $query, $matches); list($from_table, $from, $table) = $matches; return str_replace($table[0], self::$prefix.$table[0], $query);