diff --git a/include/class.ticket.php b/include/class.ticket.php index 9001ee9a821df63290780d80ee3f89f0c69f6081..c652f8f3fed5a8fde306ce5b2e5a6e37c83e517b 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -1889,7 +1889,7 @@ class Ticket { // Identify the user creating the ticket and unpack user information // fields into local scope for filtering and banning purposes - $user_form = UserForm::getInstance(); + $user_form = UserForm::getUserForm(); $user_info = $user_form->getClean(); if ($user_form->isValid()) $vars += $user_info; diff --git a/include/client/open.inc.php b/include/client/open.inc.php index b9ba42e2421ed3b35dff180016427ce484c3648e..c5ecb42c66717eadbb5346f7e526e1e4c6ebb1a1 100644 --- a/include/client/open.inc.php +++ b/include/client/open.inc.php @@ -40,7 +40,7 @@ $info=($_POST && $errors)?Format::htmlchars($_POST):$info; </tr> <?php if (!$thisclient) { - UserForm::getInstance()->render(false, 'Your Information'); + UserForm::getUserForm()->render(false, 'Your Information'); } else { ?> <tr><td colspan="2"><hr /></td></tr>