Fix search on command

This commit is contained in:
Laurent Destailleur
2015-03-28 17:17:55 +01:00
parent 5e33068e29
commit b60a56dc94

View File

@@ -43,7 +43,7 @@ $orderyear=GETPOST("orderyear","int");
$ordermonth=GETPOST("ordermonth","int");
$deliveryyear=GETPOST("deliveryyear","int");
$deliverymonth=GETPOST("deliverymonth","int");
$search_ref=GETPOST('search_ref','alpha');
$search_ref=GETPOST('search_ref','alpha')!=''?GETPOST('search_ref','alpha'):GETPOST('sref','alpha');
$search_ref_customer=GETPOST('search_ref_customer','alpha');
$search_company=GETPOST('search_company','alpha');
$sall=GETPOST('sall');