Bugfix in UserGroupEditForm
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 13 Aug 2012 18:13:11 +0000 (20:13 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 13 Aug 2012 18:13:11 +0000 (20:13 +0200)
wcfsetup/install/files/lib/acp/form/UserGroupEditForm.class.php

index 28acbcaa7586e1c25ed31f8147b839dda206a170..e5661cdf2db1953ce6bd2500de425d909d4244e0 100755 (executable)
@@ -108,7 +108,7 @@ class UserGroupEditForm extends UserGroupAddForm {
                ));
                
                // add warning when the initiator is in the group
-               if ($this->group->isMember($this->groupID)) {
+               if ($this->group->isMember()) {
                        WCF::getTPL()->assign('warningSelfEdit', true);
                }
        }