From edee87360d05207330c40ad3e78b40957171a843 Mon Sep 17 00:00:00 2001 From: tipaul <tipaul> Date: Mon, 24 Oct 2005 08:59:37 +0000 Subject: [PATCH] =?UTF-8?q?si=20l'utilisateur=20saisit=20le=20nom=20d'une?= =?UTF-8?q?=20soci=E9t=E9=20de=20mani=E8re=20certaine=20(=3D=20on=20n'a=20?= =?UTF-8?q?qu'une=20r=E9ponse,=20on=20saute=20dessus=20directement=20via?= =?UTF-8?q?=20un=20redirect=20http)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/societe.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/societe.php b/htdocs/societe.php index ec521d402c8..d1149dcc59c 100644 --- a/htdocs/societe.php +++ b/htdocs/societe.php @@ -50,7 +50,7 @@ if ($user->societe_id > 0) } -llxHeader(); +// llxHeader(); $search_nom=isset($_GET["search_nom"])?$_GET["search_nom"]:$_POST["search_nom"]; $search_ville=isset($_GET["search_ville"])?$_GET["search_ville"]:$_POST["search_ville"]; @@ -91,6 +91,8 @@ if ($mode == 'search') { $obj = $db->fetch_object($result); $socid = $obj->idp; + print header("location: soc.php?socid=$socid"); + exit; } $db->free($result); } @@ -105,6 +107,8 @@ if ($mode == 'search') } } +llxHeader(); + // As-t-on cliqu� sur purge des cri�tres de recherche if (isset($_POST["button_removefilter_x"])) { -- GitLab