task #5 : amélioration des performances pour la recherche de fiche

This commit is contained in:
Dany De Bontridder 2010-10-29 22:54:12 +00:00
parent ff6ccd5e3d
commit 451edfe856

View file

@ -657,8 +657,9 @@ class Fiche_Def
if ( $aFiche != null )
{
/* check if the card is used */
foreach ($aFiche as $fiche)
foreach ($aFiche as $dfiche)
{
$fiche=new Fiche($this->cn,$dfiche['f_id']);
/* if the card is not used then remove it otherwise increment remains */
if ( $fiche->is_used() == false )