This commit is contained in:
thinkphp
2016-12-28 14:58:43 +08:00
parent 28844c12b0
commit 293dce8639
3 changed files with 10 additions and 7 deletions

View File

@@ -160,6 +160,7 @@ abstract class OneToOne extends Relation
*/
public function getEagerlyType()
{
$this->removeOption();
return $this->eagerlyType;
}