diff --git a/include/staff/templates/user-lookup.tmpl.php b/include/staff/templates/user-lookup.tmpl.php index f46fd7c99e9e4689183998212220730b6485973f..a5908e0c0a6aa023d97d8488a63b8bb15e854e20 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">