Fix cosmetic bug : css_size will be used if it is null,
This commit is contained in:
parent
f0c744c36f
commit
84797b9bdd
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue