Revert "fix the case when relation is set to null"
All checks were successful
soko-web/pipeline/pr-master This commit looks good
All checks were successful
soko-web/pipeline/pr-master This commit looks good
This reverts commit 25548176bb
.
This commit is contained in:
parent
8a1820275d
commit
f037de014e
@ -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