fixed empty being used on a function

This commit is contained in:
Cédric Salvador 2013-09-12 11:18:22 +02:00
parent d9a26d0aa9
commit b0e03462d3

View File

@ -54,7 +54,7 @@ $offset = $limit * $page ;
if (! $sortfield) $sortfield = 'p.ref';
if (! $sortorder) $sortorder = 'DESC';
if (! empty(GETPOST('button_removefilter')))
if (GETPOST('button_removefilter'))
{
$sref = '';
$sRefSupplier = '';