From 4d4a29bfa1e96f7387e7075b467e3882b11dd4ec Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 24 Apr 2006 11:41:35 +0000 Subject: [PATCH] bugfix --- htdocs/comm/adresse_livraison.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/adresse_livraison.php b/htdocs/comm/adresse_livraison.php index 740ecd3778e..75510e0afab 100644 --- a/htdocs/comm/adresse_livraison.php +++ b/htdocs/comm/adresse_livraison.php @@ -95,8 +95,10 @@ if ($_POST["action"] == 'add' || $_POST["action"] == 'update') if ($_POST["action"] == 'add') { - $socid = $_POST["socid"]; - $result = $livraison->create($socid, $user); + $socid = $_POST["socid"]; + $origin = $_POST["origin"]; + $orignid = $_POST["origind"] + $result = $livraison->create($socid, $user); if ($result >= 0) { @@ -214,6 +216,8 @@ if ($_GET["action"] == 'create' || $_POST["action"] == 'create') print '
'; print ''; + print ''; + print ''; print ''; print '';