mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
- LSattribute : Correction de la méthode getFormVal()
This commit is contained in:
parent
9d96ba4749
commit
6fc4a82c77
1 changed files with 3 additions and 0 deletions
|
@ -338,6 +338,9 @@ class LSattribute {
|
||||||
*/
|
*/
|
||||||
function getFormVal() {
|
function getFormVal() {
|
||||||
$data=$this -> getDisplayValue();
|
$data=$this -> getDisplayValue();
|
||||||
|
if ($data==NULL) {
|
||||||
|
$data=array();
|
||||||
|
}
|
||||||
if(!is_array($data)) {
|
if(!is_array($data)) {
|
||||||
$data=array($data);
|
$data=array($data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue