PHP 8.1 Deprecated
Adapt for 8.1
This commit is contained in:
parent
bfa9dde763
commit
e93283ba65
8 changed files with 15 additions and 10 deletions
|
|
@ -36,7 +36,7 @@ class IButton extends HtmlInput
|
|||
{
|
||||
$this->name=($p_name==null)?$this->name:$p_name;
|
||||
$this->value=($p_value==null)?$this->value:$p_value;
|
||||
$this->label=(trim($this->label) != '')?$this->label:$this->value;
|
||||
$this->label=(!empty($this->label))?$this->label:$this->value;
|
||||
$this->class=($p_class != "")?$p_class:$this->class;
|
||||
$this->class=($this->class=="")?"smallbutton ":$this->class;
|
||||
if ( $this->readOnly==true) return $this->display();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue