Compare to profile id of group, for backward compatibility
This commit is contained in:
parent
47fbe16562
commit
63102950b2
|
@ -177,7 +177,7 @@ class EditgroupAction extends GroupAction
|
|||
$nickname = Nickname::normalize($nickname, true);
|
||||
} catch (NicknameTakenException $e) {
|
||||
// Abort only if the nickname is occupied by _another_ group
|
||||
if ($e->profile->id != $this->group->id) {
|
||||
if ($e->profile->id != $this->group->profile_id) {
|
||||
$this->showForm($e->getMessage());
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user