Erreur : fiche_attr , first param is a DatabaseCore object

This commit is contained in:
sparkyx 2021-03-22 17:50:44 +01:00
parent aab7567c69
commit bd58e1adf7

View file

@ -234,7 +234,7 @@ class Fiche
if ( $flag == 0 )
{
// there's a missing one, we insert it
$t=new Fiche_Attr ($f->ad_id);
$t=new Fiche_Attr ($this->cn,$f->ad_id);
$t->av_text="";
$t->ad_text=$f->ad_text;
$t->jnt_order=$f->jnt_order;