From 26bdcae0d8fdc83d10819e53162d7dc43456cf1f Mon Sep 17 00:00:00 2001
From: aydreeihn <adriane@enhancesoft.com>
Date: Fri, 11 Jan 2019 13:42:31 -0600
Subject: [PATCH] Issue: DynamicFormEntry render

This commit fixes an issue where we did not correctly change the values passed to the render function that was updated to work with PHP 7.1
---
 include/staff/templates/user-lookup.tmpl.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/staff/templates/user-lookup.tmpl.php b/include/staff/templates/user-lookup.tmpl.php
index f46fd7c99..a5908e0c0 100644
--- a/include/staff/templates/user-lookup.tmpl.php
+++ b/include/staff/templates/user-lookup.tmpl.php
@@ -84,7 +84,7 @@ if ($user) { ?>
     <table width="100%" class="fixed">
     <?php
         $form = $form ?: UserForm::getInstance();
-        $form->render(true, __('Create New User'), array('mode' => 'create')); ?>
+        $form->render(['staff' => true, 'title' => __('Create New User'), 'mode' => 'create']); ?>
     </table>
     <hr>
     <p class="full-width">
-- 
GitLab