[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 172/173: Erreur : fiche_attr , first param is
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 172/173: Erreur : fiche_attr , first param is a DatabaseCore object |
Date: |
Mon, 22 Mar 2021 12:59:27 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit ffe184792793300d0ce792b6afaf896f57c683aa
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 7ebd55b..36228c1 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;
- [Noalyss-commit] [noalyss] 156/173: rel8100 Merge branch 'master' into entreprise, (continued)
- [Noalyss-commit] [noalyss] 156/173: rel8100 Merge branch 'master' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 157/173: Merge branch 'dev-8-bug-saldo-not-checked', Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 161/173: Move CSS and start to integrate BootStrap, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 163/173: Move CSS and start to integrate BootStrap Add fonts, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 165/173: Currency : adapt test, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 166/173: BootStrap : set up + move CSS and font to their own folders, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 167/173: Task 0001912: Developpement DEBUG new system with level, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 168/173: Task #1911: FOLLOW : télécharger toutes les documents en une fois, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 153/173: Improve scenario test, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 158/173: Merge branch 'dev8001', Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 172/173: Erreur : fiche_attr , first param is a DatabaseCore object,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 173/173: if a document cannot be generate, a error message is displaid and the whole operation is not cancelled, Dany De Bontridder, 2021/03/22