Bug PHP : confuse NULL and 0
This commit is contained in:
parent
61ff77bd8a
commit
f413579d91
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ class INum extends IText
|
|||
$this->javascript='onchange="format_number(this,'.$this->prec.');"';
|
||||
}
|
||||
$this->name=($p_name==null)?$this->name:$p_name;
|
||||
$this->value=($p_value==null)?$this->value:$p_value;
|
||||
$this->value=($p_value===null)?$this->value:$p_value;
|
||||
$this->id=($this->id=="")?$this->name:$this->id;
|
||||
|
||||
if ($this->readOnly==true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue