mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
LSattr_html_select_object : fix bug witch disable default_value
This commit is contained in:
parent
616197c43f
commit
84554e7c59
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ class LSattr_html_select_object extends LSattr_html{
|
|||
return;
|
||||
}
|
||||
if ($data) {
|
||||
if (!is_array($data)) {
|
||||
$data=array($data);
|
||||
}
|
||||
$values=$this -> getFormValues($data);
|
||||
if ($values) {
|
||||
$element -> setValue($values);
|
||||
|
|
Loading…
Reference in a new issue