From a723cc979b5f93d6b688c5d19522cb27fa6c17eb Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 16 Nov 2009 17:06:12 +0100 Subject: correct constructor for DeleteUserForm --- lib/userprofile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/userprofile.php') 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'); } -- cgit v1.2.3-54-g00ecf