Merge pull request 'Revert "fix the case when relation is set to null"' (#23) from bugfix/fix-syncrelations into master
All checks were successful
soko-web/pipeline/head This commit looks good
All checks were successful
soko-web/pipeline/head This commit looks good
Reviewed-on: #23
This commit is contained in:
commit
bda12177eb
@ -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