Skip to content
Snippets Groups Projects
Unverified Commit f23684b6 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4683 from JediKev/issue/new-ticket-field-perms

issue: New Ticket Field Permissions
parents aa8a6d96 a7d5b60c
No related branches found
No related tags found
No related merge requests found
......@@ -32,8 +32,9 @@ class DynamicFormsAjaxAPI extends AjaxController {
if (!$form->hasAnyVisibleFields())
continue;
ob_start();
$form->getForm($_SESSION[':form-data'])->render(!$client, false,
array('mode' => 'create'));
$form->getForm($_SESSION[':form-data'])->render(array(
'staff' => !$client,
'mode' => 'create'));
$html .= ob_get_clean();
ob_start();
print $form->getMedia();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment