Merge pull request #7555 from frederic34/patch-1

can't clean search_type in holiday list
This commit is contained in:
Laurent Destailleur 2017-10-04 10:57:27 +02:00 committed by GitHub
commit 7f11138f19

View File

@ -418,7 +418,7 @@ foreach($typeleaves as $key => $val)
//$labeltoshow .= ($val['delay'] > 0 ? ' ('.$langs->trans("NoticePeriod").': '.$val['delay'].' '.$langs->trans("days").')':'');
$arraytypeleaves[$val['rowid']]=$labeltoshow;
}
print $form->selectarray('search_type', $arraytypeleaves, (GETPOST('search_type')?GETPOST('search_type'):''), 1);
print $form->selectarray('search_type', $arraytypeleaves, $search_type, 1);
print '</td>';
// Duration