diff --git a/include/class_ibutton.php b/include/class_ibutton.php index c08cb1596..587eab40a 100644 --- a/include/class_ibutton.php +++ b/include/class_ibutton.php @@ -33,7 +33,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; - $class=($p_class="")?" button ":$this->class; + $class=($p_class=="")?" button ":$this->class; if ( $this->readOnly==true) return $this->display(); $extra= ( isset($this->extra))?$this->extra:""; $this->id=($this->id=="")?$this->name:$this->id;