Skip to content

Commit

Permalink
Additional commit for CO-1223
Browse files Browse the repository at this point in the history
  • Loading branch information
Benn Oshrin committed Oct 20, 2025
1 parent 9860899 commit c8897e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/Model/Table/GroupsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ public function ruleFQNameUnique($entity, $options) {
->where($whereClause)
->first();

if(!empty($group)) {
if(!empty($group) && $group->id != $entity->id) {
return __d('error', 'Groups.name.inuse', [$group->id, $group->parent_id]);
}
}
Expand Down

0 comments on commit c8897e0

Please sign in to comment.