This commit is contained in:
Laurent Destailleur
2017-11-17 14:06:08 +01:00
parent 7f28c9fff6
commit fde33594a2

View File

@@ -51,7 +51,6 @@ $search_dateyear = GETPOST('search_dateyear', 'int');
$search_datemonth = GETPOST('search_datemonth', 'int');
$search_dateday = GETPOST('search_dateday', 'int');
$search_date = dol_mktime(0, 0, 0, $search_datemonth, $search_dateday, $search_dateyear);
if (GETPOST('search_date', 'alpha')) $search_date = dol_stringtotime(GETPOST('search_date', 'alpha')); // For backward compatibility
$limit = GETPOST('limit')?GETPOST('limit','int'):$conf->liste_limit;
$sortfield = GETPOST("sortfield");
@@ -63,7 +62,6 @@ if ($page < 0) $page = 0;
$offset = $limit * $page;
/*
* Actions
*/
@@ -244,6 +242,7 @@ if ($resql)
$sortfield,
$sortorder
);
print '</tr>'.
'<tr class="liste_titre">'.