Little fix in selectmodelform

This commit is contained in:
Antonio de la Rosa 2016-12-19 18:38:54 +00:00
parent 001ee79c2a
commit b6a5e77bcd

View file

@ -45,7 +45,7 @@ class SelectModelFormByOrder extends SelectForm {
$arr_elements=array();
$query=$this->model->select([$this->model->idmodel, $this->identifier_field, $this->field_parent]);
$query=$this->model->where($this->where)->select([$this->model->idmodel, $this->identifier_field, $this->field_parent]);
while($arr_field=$this->model->fetch_array($query))
{