Skip to content
Snippets Groups Projects
Commit 790d4cd7 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix incorrect assignment condition

parent e0fca9d1
No related branches found
No related tags found
No related merge requests found
......@@ -2483,7 +2483,7 @@ class Ticket {
$__form = null;
if ($vars['topicId']) {
if (($__topic=Topic::lookup($vars['topicId']))
&& $__form = $__topic->getForm()
&& ($__form = $__topic->getForm())
) {
$__form = $__form->instanciate();
$__form->setSource($vars);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment