From f04dba883a26386b95d817a89283307e697baa2e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 8 Jan 2007 00:35:04 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20je=20me=20suis=20encore=20plant=E9=20d?= =?UTF-8?q?=E9sol=E9,=20cette=20fois=20la=20num=E9rotation=20doit=20etre?= =?UTF-8?q?=20correct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/modules/propale/mod_propale_diamant.php | 5 ++--- htdocs/includes/modules/propale/mod_propale_ivoire.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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); }