diff --git a/form.php b/form.php index 0de6f99..2d3c951 100644 --- a/form.php +++ b/form.php @@ -782,7 +782,9 @@ class formfield // No $this->multiple, $this->rows $this->cols $this->placeholder, // $this->maxlength if (! is_array ($this->titles) || count ($this->titles) === 0) - $this->titles = array (""); + $titles = array (""); + else + $titles = $this->titles; $res = ""; $res .= "