task #5 : amélioration des performances pour la recherche de fiche
This commit is contained in:
parent
ff6ccd5e3d
commit
451edfe856
1 changed files with 2 additions and 1 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue