From 773b1804adbb0e26612061ea63237ddafc999d8d Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 10 Mar 2006 18:35:00 +0000 Subject: [PATCH] bugfix --- htdocs/socnote.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/socnote.php b/htdocs/socnote.php index c551387763e..4c891a71ba1 100644 --- a/htdocs/socnote.php +++ b/htdocs/socnote.php @@ -69,10 +69,10 @@ if ($_POST["action"] == 'add') { llxHeader(); -if ($socidp > 0) +if ($_GET["socid"] > 0) { - $societe = new Societe($db, $socidp); - $societe->fetch($socidp); + $societe = new Societe($db, $_GET["socid"]); + $societe->fetch($_GET["socid"]); $h=0;