Skip to content
Snippets Groups Projects
Commit a7d5b60c authored by JediKev's avatar JediKev
Browse files

issue: New Ticket Field Permissions

This addresses an issue where creating a ticket as an agent and selecting a
Help Topic does not show the Issue Summary or Issue Details fields. This is
due to us passing 3 parameters instead of 1 as an array. This combines the
params in one array and only passes the array as a param.
parent 460b445f
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