This commit is contained in:
Regis Houssin 2006-03-10 18:40:01 +00:00
parent 773b1804ad
commit 387a543f6a

View File

@ -60,6 +60,7 @@ if ($_POST["action"] == 'add') {
$result = $db->query($sql); $result = $db->query($sql);
$_GET["socid"]=$_POST["socid"]; // Pour retour sur fiche $_GET["socid"]=$_POST["socid"]; // Pour retour sur fiche
Header("Location:socnote.php?socid=".$socid);
} }
@ -69,10 +70,10 @@ if ($_POST["action"] == 'add') {
llxHeader(); llxHeader();
if ($_GET["socid"] > 0) if ($socidp > 0)
{ {
$societe = new Societe($db, $_GET["socid"]); $societe = new Societe($db, $socidp);
$societe->fetch($_GET["socid"]); $societe->fetch($socidp);
$h=0; $h=0;