From a5a13aa11c3113adeef46c6f8852de000fe5ae5f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 1 Aug 2004 22:38:00 +0000 Subject: [PATCH] Correction lien invalide (un vieux copier coller) --- htdocs/contrat/fiche.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index 55cbfe22b2d..3f2faac34af 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -28,7 +28,6 @@ require("../facture.class.php"); llxHeader(); $id = $_GET["id"]; -$socid = $_GET["socid"]; $mesg = ''; /* @@ -37,7 +36,7 @@ $mesg = ''; if ($user->societe_id > 0) { $action = ''; - $socid = $user->societe_id; + $id = $user->societe_id; } @@ -103,7 +102,7 @@ if ($id) $h = 0; $hselected=$h; - $head[$h][0] = DOL_URL_ROOT.'/soc.php?socid='.$socid; + $head[$h][0] = DOL_URL_ROOT.'/contrat/fiche.php?id='.$id; $head[$h][1] = 'Fiche contrat : '.$contrat->id; $h++;