From 65393d72ecbb59222eaffe27b65590db7527d6d1 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 18 Sep 2007 08:38:07 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20erreur=20si=20url=20pas=20renseign=E9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/societe.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php index e6599ba4af3..44f100c2bc2 100644 --- a/htdocs/societe.class.php +++ b/htdocs/societe.class.php @@ -301,7 +301,7 @@ class Societe $this->fax = ereg_replace(" ","",$this->fax); $this->fax = ereg_replace("\.","",$this->fax); $this->email=trim($this->email); - $this->url=clean_url($this->url,0); + $this->url=$this->url?clean_url($this->url,0):''; $this->siren=trim($this->siren); $this->siret=trim($this->siret); $this->ape=trim($this->ape);