Skip to content
Snippets Groups Projects
Commit 77c8c0e6 authored by Nikolay Lobachev's avatar Nikolay Lobachev Committed by Kristiaan Van den Eynde
Browse files

Issue #3311949 by LOBsTerr, kristiaanvandeneynde: GroupRoleStorage doesn't call parent doPreSave

parent 672e0532
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ class GroupRoleScopeValidator extends ConstraintValidator implements ContainerIn
if (!empty($existing_pairs)) {
// If we found ourselves, we can ignore this.
if (!$group_role->isNew() && count($existing_pairs) === 1 && reset($existing_pairs) == $group_role->id()) {
if (!$group_role->isNew() && count($existing_pairs) === 1 && reset($existing_pairs) == $group_role->getOriginalId()) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment