Correction d'un bug dans la numérotation (boucle sans fin..)
This commit is contained in:
parent
2675fb9f08
commit
c147090857
@ -62,7 +62,7 @@ class mod_propale_ivoire extends ModeleNumRefPropales
|
|||||||
{
|
{
|
||||||
global $db;
|
global $db;
|
||||||
|
|
||||||
$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."propal";
|
$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."propal";
|
||||||
|
|
||||||
if ( $db->query($sql) )
|
if ( $db->query($sql) )
|
||||||
{
|
{
|
||||||
@ -83,7 +83,8 @@ class mod_propale_ivoire extends ModeleNumRefPropales
|
|||||||
*/
|
*/
|
||||||
function propale_get_num($objsoc=0)
|
function propale_get_num($objsoc=0)
|
||||||
{
|
{
|
||||||
return $this->propale_get_num();
|
// return $this->propale_get_num();
|
||||||
|
return $this->getNextValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user