Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Update UserGroupPremiumAction.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaruesweg committed May 11, 2014
1 parent d5c80ab commit 6ebc97e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function buyGroup() {

$premiumGroupEditor->insertPremiumGroup();

$action = new UserAction(array(new UserProfile(WCF::getUser())), 'addToGroups', array(
$action = new UserAction(array(WCF::getUser()), 'addToGroups', array(
'groups' => array($premiumGroupEditor->groupID),
'addDefaultGroups' => false,
'deleteOldGroups' => false
Expand Down

0 comments on commit 6ebc97e

Please sign in to comment.