]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/userprofile.php
correct constructor for DeleteUserForm
[quix0rs-gnu-social.git] / 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');
                         }