Commit ce7d9e8b authored by Alexander Butenko's avatar Alexander Butenko

rawQuery: do not escape quotes

parent fd69e015
......@@ -193,7 +193,7 @@ class MysqliDb
*/
public function rawQuery($query, $bindParams = null)
{
$this->_query = filter_var ($query, FILTER_SANITIZE_MAGIC_QUOTES,
$this->_query = filter_var ($query, FILTER_SANITIZE_STRING,
FILTER_FLAG_NO_ENCODE_QUOTES);
$stmt = $this->_prepareQuery();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment