Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed combine overwrite exiting criterions.

  • Loading branch information...
commit 740d8ff725cc1ded1d0e6092748818baa83d7cea 1 parent 441f969
@hholzer hholzer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  runtime/lib/query/Criteria.php
View
2  runtime/lib/query/Criteria.php
@@ -822,7 +822,7 @@ public function combine($criterions = array(), $operator = self::LOGICAL_AND, $n
$firstCriterion->$operatorMethod($criterion);
}
if ($name === null) {
- $this->add($firstCriterion, null, null);
+ $this->addAnd($firstCriterion, null, null);
} else {
$this->addCond($name, $firstCriterion, null, null);
}
Please sign in to comment.
Something went wrong with that request. Please try again.