can't clean search_type in holiday list

This commit is contained in:
Frédéric FRANCE 2017-10-04 10:12:51 +02:00 committed by GitHub
parent 436ec93084
commit 69314e08ac

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