correct constructor for DeleteUserForm

This commit is contained in:
Evan Prodromou 2009-11-16 17:06:12 +01:00
parent ee5c9a5c90
commit a723cc979b

View File

@ -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');
}