修正关联

This commit is contained in:
thinkphp
2017-11-25 10:54:20 +08:00
parent 6381d65bb3
commit a4b5d8908f
2 changed files with 2 additions and 1 deletions

View File

@@ -1239,6 +1239,7 @@ class Query
$logic = strtoupper($logic);
if (isset($this->options['where'][$logic][$field])) {
unset($this->options['where'][$logic][$field]);
unset($this->options['multi'][$logic][$field]);
}
return $this;
}