Fix IS NULL / IS NOT NULL conditions being omitted from XML queries

This commit is contained in:
Kijin Sung 2020-08-11 11:12:39 +09:00
parent 388d55fd85
commit 76c83a5ce1

View file

@ -75,7 +75,7 @@ class VariableBase
{
throw new \Rhymix\Framework\Exceptions\QueryError('Variable ' . $this->var . ' for column ' . $this->column . ' is not set');
}
else
elseif (!in_array($this->operation, ['null', 'notnull', 'not_null']))
{
return [$where, $params];
}