// return-to args, so we don't have to keep re-writing them
- $r2args = array('action' => 'showstream',
- 'nickname' => $this->profile->nickname);
+ list($action, $r2args) = $this->out->returnToArgs();
+
+ // push the action into the list
+
+ $r2args['action'] = $action;
// block/unblock
if ($cur->hasRight(Right::DELETEUSER)) {
$this->out->elementStart('li', 'entity_delete');
- $df = DeleteUserForm($this->out, $this->profile, $r2args);
+ $df = new DeleteUserForm($this->out, $this->profile, $r2args);
$df->show();
$this->out->elementEnd('li');
}