mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
LSattribute :: isRequired() : Fixed notice PHP
This commit is contained in:
parent
3df9edb25f
commit
ef40b5825c
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ class LSattribute {
|
|||
* @retval boolean true si l'attribut est obligatoire, false sinon
|
||||
*/
|
||||
function isRequired() {
|
||||
return $this -> config['required'];
|
||||
return (isset($this -> config['required'])?(bool)$this -> config['required']:false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue