Revert "fix the case when relation is set to null"
soko-web/pipeline/pr-master This commit looks good
soko-web/pipeline/pr-master This commit looks good
This reverts commit 25548176bb.
This commit is contained in:
1 file changed
-2
@@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user