noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 113/119: Bug : create card failed


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 113/119: Bug : create card failed
Date: Mon, 26 Oct 2020 18:27:41 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 955985c5a9cc1d6bee6ae0e80034abc5b45200e7
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri Oct 16 17:44:29 2020 +0200

    Bug : create card failed
---
 include/class/fiche.class.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index 98aee88..5bbd6fe 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -504,8 +504,7 @@ class Fiche
                             $bulle = Icon_Action::infobulle(14);
                             break;
                     case 'check':
-                            $w=new InputSwitch("av_text".$r->ad_id);
-                            $w->value=$r->av_text;
+                            $w=new InputSwitch("av_text".$attr->ad_id);
                             $w->value=(trim($w->value)=="")?1:$w->value;
                             break;
                     case 'select':



reply via email to

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