From d4e240b89f797c8e8c57c75b8396abffc87fbaed Mon Sep 17 00:00:00 2001
From: JediKev <kevin@enhancesoft.com>
Date: Thu, 7 Feb 2019 11:06:39 -0600
Subject: [PATCH] issue: Client-Side Forms

This addresses an issue where the client-side forms are not rendering
correctly. This is due to updating the render() functions but not updating
everywhere they are used.
---
 include/client/open.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/client/open.inc.php b/include/client/open.inc.php
index d0a96effc..6958d1f1d 100644
--- a/include/client/open.inc.php
+++ b/include/client/open.inc.php
@@ -42,7 +42,7 @@ if ($info['topicId'] && ($topic=Topic::lookup($info['topicId']))) {
         if (!$thisclient) {
             $uform = UserForm::getUserForm()->getForm($_POST);
             if ($_POST) $uform->isValid();
-            $uform->render(false, false, array('mode' => 'create'));
+            $uform->render(array('staff' => false, 'mode' => 'create'));
         }
         else { ?>
             <tr><td colspan="2"><hr /></td></tr>
-- 
GitLab