correction bug forme juridique

This commit is contained in:
opensides 2004-09-07 15:35:59 +00:00
parent af42030693
commit 391543bd6f
2 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ D'autres d
<li><a target="blank" href="http://www.ipsyn.net">Jean-Louis Bergamo</a></li>
<li><a target="blank" href="http://perso.wanadoo.fr/l.destailleur/">Laurent Destailleur</a></li>
<li>Eric Seigne</li>
<li>Benoit Mortier</li>
</ul>
<p>

View File

@ -155,7 +155,7 @@ class Societe {
if (trim($this->tva_intra)) { $sql .= ",tva_intra = '" . trim($this->tva_intra) ."'"; }
if (trim($this->capital)) { $sql .= ",capital = '" . trim($this->capital) ."'"; }
if (trim($this->effectif_id)) { $sql .= ",fk_effectif = '" . trim($this->effectif_id) ."'"; }
if (trim($this->forme_juridique)) { $sql .= ",fk_forme_juridique = '" . trim($this->forme_juridique_code) ."'"; }
if (trim($this->forme_juridique_code)) { $sql .= ",fk_forme_juridique = '" . trim($this->forme_juridique_code) ."'"; }
if (trim($this->client)) { $sql .= ",client = '" . $this->client ."'"; }
if (trim($this->fournisseur)) { $sql .= ",fournisseur = '" . $this->fournisseur ."'"; }
if ($user) { $sql .= ",fk_user_modif = '".$user->id."'"; }