ISelect->display fails if this->value if null

This commit is contained in:
sparkyx 2022-05-03 21:33:21 +02:00
parent 51899c6993
commit 104544f25e

View file

@ -85,6 +85,9 @@ class ISelect extends HtmlInput
public function display()
{
$r="";
if ($this->value == null) {
$this->value=array();
}
for ( $i=0;$i<sizeof($this->value);$i++)
{
if ($this->selected==$this->value[$i]['value'] )