PHP 8.1 Deprecated

Adapt for 8.1
This commit is contained in:
Dany De Bontridder 2022-08-24 22:26:12 +02:00 committed by sparkyx
parent bfa9dde763
commit e93283ba65
8 changed files with 15 additions and 10 deletions

View file

@ -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();