noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 231/323: Bug : IDate readonly does not contai


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 231/323: Bug : IDate readonly does not contain the ID
Date: Wed, 14 Mar 2018 17:38:56 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 8ea794a436748921d33664d63ddae4c747d6e9cf
Author: Dany De Bontridder <address@hidden>
Date:   Thu Feb 22 20:39:44 2018 +0100

    Bug : IDate readonly does not contain the ID
---
 include/lib/idate.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/lib/idate.class.php b/include/lib/idate.class.php
index d360eb4..b3a466b 100644
--- a/include/lib/idate.class.php
+++ b/include/lib/idate.class.php
@@ -94,9 +94,9 @@ class IDate extends HtmlInput
 
     public function display()
     {
-        $r="<span>  : ".$this->value;
+        $r="<span>  ".$this->value;
         $r.='<input type="hidden" name="'.$this->name.'"'.
-                'id="'.$this->name.'"'.
+                'id="'.$this->id.'"'.
                 ' value = "'.$this->value.'"></span>';
         return $r;
     }



reply via email to

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