noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 01/02: Erreur : fiche_attr , first param is a


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/02: Erreur : fiche_attr , first param is a DatabaseCore object
Date: Mon, 22 Mar 2021 12:53:28 -0400 (EDT)

sparkyx pushed a commit to tag rel8103
in repository noalyss.

commit bd58e1adf77187b7ab1d0b3fc2a2fa06e9f33207
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Mar 22 17:50:44 2021 +0100

    Erreur : fiche_attr , first param is a DatabaseCore object
---
 include/class/fiche.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index 7c12578..e2a89ba 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]