Commit 95b27c5a authored by Alexander Butenko's avatar Alexander Butenko

Merge pull request #457 from ricwein/master

fixed missing space before operator when comparing against NULL
parents f724dff8 bbb7b8b6
......@@ -1396,7 +1396,7 @@ class MysqliDb
if (is_array($val)) {
$this->_bindParams($val);
} elseif ($val === null) {
$this->_query .= $operator . " NULL";
$this->_query .= ' ' . $operator . " NULL";
} elseif ($val != 'DBNULL' || $val == '0') {
$this->_query .= $this->_buildPair($operator, $val);
}
......
<?
<?php
error_reporting (E_ALL|E_STRICT);
require_once ("../MysqliDb.php");
require_once ("../dbObject.php");
......
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