mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +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