]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct constructor for DeleteUserForm
authorEvan Prodromou <evan@status.net>
Mon, 16 Nov 2009 16:06:12 +0000 (17:06 +0100)
committerEvan Prodromou <evan@status.net>
Mon, 16 Nov 2009 16:06:12 +0000 (17:06 +0100)
lib/userprofile.php

index 4321a2f93977cc3d4a990f2de5d954f34ad78879..dedac5bf1bfd2188d8819cc4a38764be1d7c997b 100644 (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');
                         }