From c44425d0a0c998ac8ce531f142fea1c2111fe958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 26 Oct 2019 14:51:57 +0200 Subject: [PATCH] start clean indent in compta directory --- htdocs/comm/contact.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/contact.php b/htdocs/comm/contact.php index 38e4e9b0a0d..10314b597e7 100644 --- a/htdocs/comm/contact.php +++ b/htdocs/comm/contact.php @@ -109,7 +109,8 @@ if (! empty($search_company)) if (! empty($contactname)) // acces a partir du module de recherche { $sql.= " AND (p.name LIKE '%".$db->escape($contactname)."%' OR lower(p.firstname) LIKE '%".$db->escape($contactname)."%') "; - $sortf$sortorder = "ASC"; + $sortfield = "p.name"; + $sortorder = "ASC"; } $sql.= $db->order($sortfield, $sortorder);