We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit a723cc97 authored by Evan Prodromou's avatar Evan Prodromou

correct constructor for DeleteUserForm

parent ee5c9a5c
......@@ -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');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment