noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 180/219: Fix ID problem


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 180/219: Fix ID problem
Date: Mon, 18 Dec 2017 13:22:59 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit ba0e3a9be96a12da4c6fbd12f943fb7014edc531
Author: Dany De Bontridder <address@hidden>
Date:   Tue Dec 5 12:05:28 2017 +0100

    Fix ID problem
---
 include/lib/ihidden.class.php | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/include/lib/ihidden.class.php b/include/lib/ihidden.class.php
index cc1da36..3df10d4 100644
--- a/include/lib/ihidden.class.php
+++ b/include/lib/ihidden.class.php
@@ -26,17 +26,14 @@ require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
 class IHidden extends HtmlInput
 {
     /*!\brief show the html  input of the widget*/
-    public function input($p_name=null,$p_value=null)
+    public function input($p_name=null,$p_value=null,$id="")
     {
         $this->name=($p_name==null)?$this->name:$p_name;
         $this->value=($p_value==null)?$this->value:$p_value;
-               $this->id=($this->id=="")?$this->name:$this->id;
+        $this->id=($this->id=="")?$this->name:$this->id;
 
         $r='<INPUT TYPE="HIDDEN" id="'.$this->id.'" name="'.$this->name.'" 
value="'.$this->value.'">';
         return $r;
 
     }
-    static public function test_me()
-    {
-    }
 }



reply via email to

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