diff --git a/include/class.ticket.php b/include/class.ticket.php
index d114d1664665c5444e6ddd3c41c692f88f25b83e..94389a5e827077130f51774c6840c1050b0fbe34 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -3123,7 +3123,7 @@ implements RestrictedAccess, Threadable, TemplateVariable {
         if ($vars['topicId']) {
             if ($topic=Topic::lookup($vars['topicId'])) {
                 foreach ($topic_forms as $topic_form) {
-                    $TF = $topic_form->getForm()->getForm($vars);
+                    $TF = $topic_form->getForm($vars);
                     if (!$TF->isValid($field_filter('topic')))
                         $errors = array_merge($errors, $TF->errors());
                 }