From 790d4cd76dbdfba005b5f83e0f9f6b5486a390a6 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Tue, 6 Jan 2015 09:30:21 -0600 Subject: [PATCH] oops: Fix incorrect assignment condition --- include/class.ticket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.ticket.php b/include/class.ticket.php index 06d417313..6895c5806 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -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); -- GitLab