mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +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;
|
return;
|
||||||
}
|
}
|
||||||
if ($data) {
|
if ($data) {
|
||||||
|
if (!is_array($data)) {
|
||||||
|
$data=array($data);
|
||||||
|
}
|
||||||
$values=$this -> getFormValues($data);
|
$values=$this -> getFormValues($data);
|
||||||
if ($values) {
|
if ($values) {
|
||||||
$element -> setValue($values);
|
$element -> setValue($values);
|
||||||
|
|
Loading…
Reference in a new issue