Fix: Bad coding

This commit is contained in:
Laurent Destailleur 2010-08-17 00:02:33 +00:00
parent a8c914b4cf
commit c0b320176b

View File

@ -1980,8 +1980,7 @@ class Societe extends CommonObject
$sql = "INSERT INTO ".MAIN_DB_PREFIX."categorie_fournisseur (fk_categorie, fk_societe) ";
$sql.= " VALUES ('".$categorie_id."','".$this->id."');";
if ($resql=$this->db->query($sql))
return 0;
if ($resql=$this->db->query($sql)) return 0;
}
else
{