From be2f93bd3c4e8e73057da927fedecef7e8182f62 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sat, 25 Dec 2004 19:04:31 +0000
Subject: [PATCH] =?UTF-8?q?Fix:=20Siren=20perdu=20sur=20=E9cran=20apr=E8s?=
 =?UTF-8?q?=20retour=20=E0=20page=20cr=E9ation=20suite=20=E0=20un=20=E9che?=
 =?UTF-8?q?c.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 htdocs/soc.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/htdocs/soc.php b/htdocs/soc.php
index e0bc15b0ee0..6b3e97407db 100644
--- a/htdocs/soc.php
+++ b/htdocs/soc.php
@@ -182,9 +182,9 @@ if ($_GET["action"] == 'create')
       print '<td>'.$langs->trans('Fax').'</td><td><input type="text" name="fax"></td></tr>';
       
       print '<tr><td>'.$langs->trans('CustomerCode').'</td><td colspan="3"><input size="16" type="text" name="code_client" maxlength="15" value="'.$soc->code_client.'"></td></tr>';
-      print '<tr><td>'.$langs->trans('Web').'</td><td colspan="3"><input size="40" type="text" name="url"></td></tr>';
+      print '<tr><td>'.$langs->trans('Web').'</td><td colspan="3"><input type="text" name="url" size="40" value="'.$soc->url.'"></td></tr>';
 
-      print '<tr><td>'.$langs->trans('ProfIdSiren').'</td><td><input type="text" name="siren"></td>';
+      print '<tr><td>'.$langs->trans('ProfIdSiren').'</td><td><input type="text" name="siren" size="10" maxlength="9" value="'.$soc->siren.'"></td>';
       print '<td>'.$langs->trans('ProfIdSiret').'</td><td><input type="text" name="siret" size="15" maxlength="14" value="'.$soc->siret.'"></td></tr>';
 
       print '<tr><td>'.$langs->trans('ProfIdApe').'</td><td><input type="text" name="ape" size="5" maxlength="4" value="'.$soc->ape.'"></td>';
-- 
GitLab