IText , remove double-quote

This commit is contained in:
sparkyx 2020-11-22 17:09:41 +01:00
parent a51d055496
commit a7236046a0

View file

@ -46,6 +46,9 @@ class IText extends HtmlInput
if ( $this->readOnly==true) return $this->display();
$this->id=($this->id=="")?$this->name:$this->id;
// Double quote makes troubles
$this->value=str_replace('"','',$this->value);
$t= 'title="'.$this->title.'" ';
$autofocus=($this->autofocus)?" autofocus ":"";
$require=($this->require)?"required":"";