summaryrefslogtreecommitdiff
path: root/actions/apigrouplist.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apigrouplist.php')
-rw-r--r--actions/apigrouplist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apigrouplist.php b/actions/apigrouplist.php
index 98fdb0497..a6f5d03cc 100644
--- a/actions/apigrouplist.php
+++ b/actions/apigrouplist.php
@@ -66,7 +66,7 @@ class ApiGroupListAction extends ApiBareAuthAction
{
parent::prepare($args);
- $this->user = $this->getTargetUser($id);
+ $this->user = $this->getTargetUser(null);
$this->groups = $this->getGroups();
return true;
@@ -100,7 +100,7 @@ class ApiGroupListAction extends ApiBareAuthAction
array('nickname' => $this->user->nickname)
);
$subtitle = sprintf(
- _("Groups %1$s is a member of on %2$s."),
+ _("Groups %1\$s is a member of on %2\$s."),
$this->user->nickname,
$sitename
);