diff --git a/include/class_fiche.php b/include/class_fiche.php index ff8a6fde9..b1c060dcf 100644 --- a/include/class_fiche.php +++ b/include/class_fiche.php @@ -126,8 +126,8 @@ class Fiche { for ($i=0;$i<$Max;$i++) { $row=Database::fetch_array($Ret,$i); $this->fiche_def=$row['fd_id']; - $t=new Attribut ($this->cn); - $t->ad_id=$row['ad_id']); + $t=new Fiche_Attr ($this->cn); + $t->ad_id=$row['ad_id']; $t->ad_text=$row['ad_text']; $t->av_text=$row['av_text']; $t->ad_type=$row['ad_type']; @@ -1043,6 +1043,7 @@ av_text1=>'name' if ( count($this->row ) == 0 ) return; $qcode=$this->strAttribut(ATTR_DEF_QUICKCODE); + $rep=""; $already_seen=array(); echo '