修正Relation类的getRelationInfo方法

This commit is contained in:
thinkphp
2016-06-11 09:50:55 +08:00
parent 34a08232aa
commit 069673ea3f

View File

@@ -69,6 +69,7 @@ class Relation
'foreignKey' => $this->foreignKey,
'localKey' => $this->localKey,
'alias' => $this->alias,
'joinType' => $this->joinType,
];
return $name ? $info[$name] : $info;
}