From b0e03462d327019357eee8286e60f8688e1529d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Salvador?= Date: Thu, 12 Sep 2013 11:18:22 +0200 Subject: [PATCH] fixed empty being used on a function --- htdocs/fourn/product/liste.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/product/liste.php b/htdocs/fourn/product/liste.php index 3c561437eaf..bc82a48c907 100644 --- a/htdocs/fourn/product/liste.php +++ b/htdocs/fourn/product/liste.php @@ -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 = '';