From da01de9ac9fd7326046db76bb5067e3e75c58789 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 23 Jan 2007 18:13:40 +0000 Subject: [PATCH] Fix: Recherche sur code client --- htdocs/comm/clients.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/clients.php b/htdocs/comm/clients.php index 0e86836e761..10145405018 100644 --- a/htdocs/comm/clients.php +++ b/htdocs/comm/clients.php @@ -49,7 +49,7 @@ $pagenext = $_GET["page"] + 1; $search_nom=isset($_GET["search_nom"])?$_GET["search_nom"]:$_POST["search_nom"]; $search_ville=isset($_GET["search_ville"])?$_GET["search_ville"]:$_POST["search_ville"]; -$search_code=isset($_GET["search_code"])?$_GET["search_contract"]:$_POST["search_code"]; +$search_code=isset($_GET["search_code"])?$_GET["search_code"]:$_POST["search_code"]; $sql = "SELECT s.idp, s.nom, s.ville, ".$db->pdate("s.datec")." as datec, ".$db->pdate("s.datea")." as datea, st.libelle as stcomm, s.prefix_comm, s.code_client"; @@ -106,7 +106,7 @@ if ($result) print ''; print ''; - print ''; + print ''; print ''; print ''; print '';