diff options
author | Evan Prodromou <evan@status.net> | 2009-11-16 17:06:12 +0100 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-16 17:06:12 +0100 |
commit | a723cc979b5f93d6b688c5d19522cb27fa6c17eb (patch) | |
tree | 819ea840ac43c39e872d2ada90d9247a68364ff6 | |
parent | ee5c9a5c9084a4ebf16e1aef7bb073bbf7c629da (diff) |
correct constructor for DeleteUserForm
-rw-r--r-- | lib/userprofile.php | 2 |
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'); } |