diff --git a/src/module/Phpug/src/Phpug/Controller/UsergroupController.php b/src/module/Phpug/src/Phpug/Controller/UsergroupController.php index 0f60b21..6a87f6c 100644 --- a/src/module/Phpug/src/Phpug/Controller/UsergroupController.php +++ b/src/module/Phpug/src/Phpug/Controller/UsergroupController.php @@ -110,7 +110,7 @@ public function promoteAction() $collection = $this->form->get('userGroupFieldset')->get('contacts'); $fieldSets = $collection->getFieldsets(); $fieldSets[0]->get('service')->setValue(1); - $fieldSets[0]->get('name')->setValue($this->currentUser->getName()); + $fieldSets[0]->get('name')->setValue($this->usertoken->getName()); } $request = $this->getRequest();