[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"
- [Noalyss-commit] [noalyss] branch master updated (407e05671 -> 9d5fc4180), Dany De Bontridder, 2022/09/03
- [Noalyss-commit] [noalyss] 03/07: Fix code : invalid CSS removed, Dany De Bontridder, 2022/09/03
- [Noalyss-commit] [noalyss] 06/07: New : 0002190: Journaux : option pour supprimer la quantité, Dany De Bontridder, 2022/09/03
- [Noalyss-commit] [noalyss] 02/07: Fix cosmetic bug : css_size will be used if it is null,,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 04/07: Optional attribute for using quantity, Dany De Bontridder, 2022/09/03
- [Noalyss-commit] [noalyss] 07/07: Merge branch 'devel', Dany De Bontridder, 2022/09/03
- [Noalyss-commit] [noalyss] 05/07: New : 0002190: Journaux : option pour supprimer la quantité, Dany De Bontridder, 2022/09/03
- [Noalyss-commit] [noalyss] 01/07: Compatibilty PHP8.1 deprecated explode with NULL, Dany De Bontridder, 2022/09/03