Skip to content
Snippets Groups Projects
Commit a36ffdaf authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #2594 from t-oster/develop-next


Properly initialize array. Fixes #2593 

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents cce5202b 19a0d539
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,7 @@ class SearchAjaxAPI extends AjaxController {
// User information
$matches = array(
__('Ticket Built-In') => SavedSearch::getExtendedTicketFields(),
__('Custom Forms') => array()
);
foreach (array('ticket'=>'TicketForm', 'user'=>'UserForm', 'organization'=>'OrganizationForm') as $k=>$F) {
$form = $F::objects()->one();
......
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