Skip to content

Commit ce7d9e8

Browse files
committed
rawQuery: do not escape quotes
1 parent fd69e01 commit ce7d9e8

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
@@ -193,7 +193,7 @@ public function setPrefix($prefix = '')
193193
*/
194194
public function rawQuery($query, $bindParams = null)
195195
{
196-
$this->_query = filter_var ($query, FILTER_SANITIZE_MAGIC_QUOTES,
196+
$this->_query = filter_var ($query, FILTER_SANITIZE_STRING,
197197
FILTER_FLAG_NO_ENCODE_QUOTES);
198198
$stmt = $this->_prepareQuery();
199199

0 commit comments

Comments
 (0)