From c1470908574dbcefdfa050855be379ba5b6950cc Mon Sep 17 00:00:00 2001 From: simontosser Date: Thu, 25 Aug 2005 23:34:47 +0000 Subject: [PATCH] =?UTF-8?q?Correction=20d'un=20bug=20dans=20la=20num=E9rot?= =?UTF-8?q?ation=20(boucle=20sans=20fin..)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/modules/propale/mod_propale_ivoire.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/modules/propale/mod_propale_ivoire.php b/htdocs/includes/modules/propale/mod_propale_ivoire.php index 53a2d231a37..53ccbb7a862 100644 --- a/htdocs/includes/modules/propale/mod_propale_ivoire.php +++ b/htdocs/includes/modules/propale/mod_propale_ivoire.php @@ -62,7 +62,7 @@ class mod_propale_ivoire extends ModeleNumRefPropales { global $db; - $sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."propal"; + $sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."propal"; if ( $db->query($sql) ) { @@ -83,7 +83,8 @@ class mod_propale_ivoire extends ModeleNumRefPropales */ function propale_get_num($objsoc=0) { - return $this->propale_get_num(); +// return $this->propale_get_num(); + return $this->getNextValue(); } }