From 63102950b2e7f65667d8b342420eb5af06500744 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 23 Feb 2014 21:28:52 +0100 Subject: [PATCH] Compare to profile id of group, for backward compatibility --- actions/editgroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/editgroup.php b/actions/editgroup.php index 1f77880684..ee1f5b86ff 100644 --- a/actions/editgroup.php +++ b/actions/editgroup.php @@ -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; } -- 2.39.5