Skip to content

Commit

Permalink
bug: target and junction conditions not reset properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Uli Staerk committed Jun 21, 2016
1 parent 61a570b commit 2b5efd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Association/BelongsToMany.php
Expand Up @@ -799,7 +799,7 @@ public function conditions($conditions = null)
{
if ($conditions !== null) {
$this->_conditions = $conditions;
$this->_targetConditions = $this->_junctionConditions = [];
$this->_targetConditions = $this->_junctionConditions = null;
}
return $this->_conditions;
}
Expand Down

0 comments on commit 2b5efd2

Please sign in to comment.