From d509a46a32b5b68723a47e7850b050ba60c97d19 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 22 Jun 2007 16:10:12 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20on=20r=E9cup=E8re=20le=20fetch=20de=20la?= =?UTF-8?q?=20soci=E9t=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fichinter/fiche.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 3df477831d0..04356954127 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -136,6 +136,12 @@ if ($_GET["action"] == 'create') * Mode creation * Creation d'une nouvelle fiche d'intervention */ + + if ($_GET["socid"]) + { + $societe=new Societe($db); + $societe->fetch($_GET["socid"]); + } print_titre($langs->trans("AddIntervention"));