Commit 28c7acc4 by Carsten Brandt

fixed BETWEEN comparision to match >= and <=

parent d2c7ef76
......@@ -286,7 +286,7 @@ EOF;
$value1 = $this->quoteValue($value1);
$value2 = $this->quoteValue($value2);
$column = $this->addColumn($column, $columns);
return "$column > $value1 and $column < $value2";
return "$column >= $value1 and $column <= $value2";
}
private function buildInCondition($operator, $operands, &$columns)
......
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