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 '