From ec0a8ee9e80450bd97696d070ae5e09e46f12dcc Mon Sep 17 00:00:00 2001 From: hitweb Date: Thu, 11 Sep 2003 22:25:00 +0000 Subject: [PATCH] suppression du http avant enregistrement et ajout de http sur le form de creation --- htdocs/soc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/soc.php b/htdocs/soc.php index 2e8097bbb72..78164229693 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -46,7 +46,7 @@ if ($action == 'add') $soc->tel = $tel; $soc->fax = $fax; - $soc->url = $url; + $soc->url = ereg_replace( "http://", "", $url ); $soc->siren = $siren; $soc->client = $client; @@ -67,7 +67,7 @@ if ($action == 'update') $soc->tel = $tel; $soc->fax = $fax; - $soc->url = $url; + $soc->url = ereg_replace( "http://", "", $url ); $soc->siren = $siren; $soc->client = $client; $soc->fournisseur = $fournisseur; @@ -95,7 +95,7 @@ if ($action == 'create') print 'Tel'; print 'Fax'; - print 'Web'; + print 'Webhttp://'; print 'Siren';