diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php index 7ebd55bb7..36228c1c2 100644 --- a/include/class/fiche.class.php +++ b/include/class/fiche.class.php @@ -235,7 +235,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;