Revert "fix the case when relation is set to null" #23
@ -305,8 +305,6 @@ class PersistentDataManager implements IPersistentDataManager
|
|||||||
|
|
||||||
if ($relationModel !== null) {
|
if ($relationModel !== null) {
|
||||||
$model->$methodSet($relationModel->getId());
|
$model->$methodSet($relationModel->getId());
|
||||||
} else {
|
|
||||||
$model->$methodSet(null);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user