diff --git a/htdocs/includes/modules/propale/mod_propale_diamant.php b/htdocs/includes/modules/propale/mod_propale_diamant.php index 6b0640b88d0..ed697725047 100644 --- a/htdocs/includes/modules/propale/mod_propale_diamant.php +++ b/htdocs/includes/modules/propale/mod_propale_diamant.php @@ -109,9 +109,8 @@ class mod_propale_diamant extends ModeleNumRefPropales { $row = $db->fetch_row($resql); $pryy=''; - if ($row[0]='') - { - print + if ($row[0]!='') + { $pryy = substr($row[0],0,4); } else diff --git a/htdocs/includes/modules/propale/mod_propale_ivoire.php b/htdocs/includes/modules/propale/mod_propale_ivoire.php index 952b3d1869d..f802198a27a 100644 --- a/htdocs/includes/modules/propale/mod_propale_ivoire.php +++ b/htdocs/includes/modules/propale/mod_propale_ivoire.php @@ -88,7 +88,7 @@ class mod_propale_ivoire extends ModeleNumRefPropales { $row = $db->fetch_row($resql); $pryy=''; - if ($row[0]='') + if ($row[0]!='') { $pryy = substr($row[0],0,4); }