From 243e62aa39ba783aebe1a20cf4cf07efa3f69af3 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 10 Mar 2006 18:11:29 +0000 Subject: [PATCH] bugfix pfff --- htdocs/socnote.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/socnote.php b/htdocs/socnote.php index 6cf5834f6f6..5273be37e2b 100644 --- a/htdocs/socnote.php +++ b/htdocs/socnote.php @@ -59,7 +59,7 @@ if ($_POST["action"] == 'add') { $sql = "UPDATE ".MAIN_DB_PREFIX."societe SET note='".addslashes($_POST["note"])."' WHERE idp=".$_POST["socid"]; $result = $db->query($sql); - $socid=$_POST["socid"]; // Pour retour sur fiche + $socidp=$_POST["socid"]; // Pour retour sur fiche } @@ -69,10 +69,10 @@ if ($_POST["action"] == 'add') { llxHeader(); -if ($socid > 0) +if ($socidp > 0) { - $societe = new Societe($db, $socid); - $societe->fetch($socid); + $societe = new Societe($db, $socidp); + $societe->fetch($socidp); $h=0;