We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16564ba commit dca4100Copy full SHA for dca4100
MysqliDb.php
@@ -551,7 +551,7 @@ private function queryUnprepared($query)
551
* @return string Contains the returned rows from the query.
552
*/
553
public function rawAddPrefix($query){
554
- $query = str_replace(PHP_EOL, null, $query);
+ $query = str_replace(PHP_EOL, '', $query);
555
$query = preg_replace('/\s+/', ' ', $query);
556
preg_match_all("/(from|into|update|join) [\\'\\´]?([a-zA-Z0-9_-]+)[\\'\\´]?/i", $query, $matches);
557
list($from_table, $from, $table) = $matches;
0 commit comments