summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-16 17:06:12 +0100
committerEvan Prodromou <evan@status.net>2009-11-16 17:06:12 +0100
commita723cc979b5f93d6b688c5d19522cb27fa6c17eb (patch)
tree819ea840ac43c39e872d2ada90d9247a68364ff6 /lib
parentee5c9a5c9084a4ebf16e1aef7bb073bbf7c629da (diff)
correct constructor for DeleteUserForm
Diffstat (limited to 'lib')
-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');
}