Little silly fix in selectmodelform

This commit is contained in:
Antonio de la Rosa 2016-02-20 23:36:07 +01:00
parent 1cddd12e93
commit 737d0b7346

View file

@ -52,7 +52,7 @@ class SelectModelForm extends SelectForm{
while($row=$this->model->fetch_array($query)) while($row=$this->model->fetch_array($query))
{ {
$this->arr_select[$row[$this->field_value]]=$row[$this->field_name]; $this->arr_select[$row[$this->field_value]]=$this->model->components[$this->field_name]->show_formatted($row[$this->field_name]);
} }