Correction d'un bug dans la numrotation (boucle sans fin..)

This commit is contained in:
simontosser 2005-08-25 23:34:47 +00:00
parent 2675fb9f08
commit c147090857

View File

@ -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();
}
}