From: Mikael Nordfeldth Date: Sun, 23 Feb 2014 20:28:52 +0000 (+0100) Subject: Compare to profile id of group, for backward compatibility X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=63102950b2e7f65667d8b342420eb5af06500744;p=quix0rs-gnu-social.git Compare to profile id of group, for backward compatibility --- 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; }