summaryrefslogtreecommitdiff
path: root/lib/userprofile.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/userprofile.php')
-rw-r--r--lib/userprofile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/userprofile.php b/lib/userprofile.php
index 4321a2f93..dedac5bf1 100644
--- a/lib/userprofile.php
+++ b/lib/userprofile.php
@@ -327,7 +327,7 @@ class UserProfile extends Widget
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');
}