Skip to content

Commit 22017a4

Browse files
committed
remove query filter as it confusing and not really useful
1 parent 199cdbb commit 22017a4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

MysqliDb.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,6 @@ public function rawQuery ($query, $bindParams = null, $sanitize = true)
285285
{
286286
$params = array(''); // Create the empty 0 index
287287
$this->_query = $query;
288-
if ($sanitize)
289-
$this->_query = filter_var ($query, FILTER_SANITIZE_STRING,
290-
FILTER_FLAG_NO_ENCODE_QUOTES);
291288
$stmt = $this->_prepareQuery();
292289

293290
if (is_array($bindParams) === true) {

0 commit comments

Comments
 (0)