]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Compare to profile id of group, for backward compatibility
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 23 Feb 2014 20:28:52 +0000 (21:28 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 23 Feb 2014 20:28:52 +0000 (21:28 +0100)
actions/editgroup.php

index 1f7788068422bd926223384412fbd4139033c60a..ee1f5b86ff0bdbe9c79ac02142db1b21ebdce816 100644 (file)
@@ -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;
                 }