noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/07: Fix cosmetic bug : css_size will be us


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/07: Fix cosmetic bug : css_size will be used if it is null,
Date: Sat, 3 Sep 2022 17:16:03 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 84797b9bdd6c46bb01bdbca6b934356b4008dd4d
Author: Dany De Bontridder <dany@alchimerys.be>
AuthorDate: Sat Sep 3 18:46:18 2022 +0200

    Fix cosmetic bug : css_size will be used if it is null,
---
 include/lib/itext.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/lib/itext.class.php b/include/lib/itext.class.php
index 5b66168e9..ffc340577 100644
--- a/include/lib/itext.class.php
+++ b/include/lib/itext.class.php
@@ -56,7 +56,7 @@ class IText extends HtmlInput
         $t= 'title="'.$this->title.'" ';
         $autofocus=($this->autofocus)?" autofocus ":"";
         $require=($this->require)?"required":"";
-        if ( ! isset ($this->css_size))
+        if ( ! isset ($this->css_size) || empty ($this->css_size))
         {
             
             $r=  sprintf('<INPUT TYPE="TEXT" %s id="%s" name="%s" value="%s" 
placeholder="%s" title="%s"



reply via email to

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