Fixed wrong variable name in user update
authorMarcel Werk <burntime@woltlab.com>
Fri, 12 Dec 2014 21:25:52 +0000 (22:25 +0100)
committerMarcel Werk <burntime@woltlab.com>
Fri, 12 Dec 2014 21:25:52 +0000 (22:25 +0100)
Closes #1852

wcfsetup/install/files/lib/data/user/UserAction.class.php

index 79828e9aba174f99f3da19377694f591e16e2141..adf6305fe6ad19c80a503826e522dcb765f9d92e 100644 (file)
@@ -341,7 +341,7 @@ class UserAction extends AbstractDatabaseObjectAction implements IClipboardActio
                
                if (!empty($removeGroups)) {
                        $action = new UserAction($this->objects, 'removeFromGroups', array(
-                               'groups' => $groupIDs
+                               'groups' => $removeGroups
                        ));
                        $action->executeAction();
                }