变更
This commit is contained in:
@@ -62,6 +62,7 @@ class Relation extends Component
|
|||||||
if (empty($activeModel)) {
|
if (empty($activeModel)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
unset($this->_query[$_identification]);
|
||||||
return Context::set($_identification, $activeModel);
|
return Context::set($_identification, $activeModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -79,6 +80,7 @@ class Relation extends Component
|
|||||||
if (empty($activeModel)) {
|
if (empty($activeModel)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
unset($this->_query[$_identification]);
|
||||||
return Context::set($_identification, $activeModel);
|
return Context::set($_identification, $activeModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -96,6 +98,7 @@ class Relation extends Component
|
|||||||
if (empty($activeModel)) {
|
if (empty($activeModel)) {
|
||||||
return $activeModel;
|
return $activeModel;
|
||||||
}
|
}
|
||||||
|
unset($this->_query[$_identification]);
|
||||||
return Context::set($_identification, $activeModel);
|
return Context::set($_identification, $activeModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user