From ada08986cf35d6e190c3a020b933b98a166bbd6d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 3 May 2014 03:05:48 +0200 Subject: [PATCH] Fix: strict --- htdocs/adherents/htpasswd.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/htpasswd.php b/htdocs/adherents/htpasswd.php index 975926f3caa..aa2be711d2b 100644 --- a/htdocs/adherents/htpasswd.php +++ b/htdocs/adherents/htpasswd.php @@ -39,8 +39,8 @@ llxHeader(); $now=dol_now(); -if ($sortorder == "") { $sortorder="ASC"; } -if ($sortfield == "") { $sortfield="d.login"; } +if (empty($sortorder)) { $sortorder="ASC"; } +if (empty($sortfield)) { $sortfield="d.login"; } if (! isset($statut)) { $statut = 1 ;