diff --git a/public_html/includes/class/class.LSattribute.php b/public_html/includes/class/class.LSattribute.php
index b80241d9..7d1583e0 100644
--- a/public_html/includes/class/class.LSattribute.php
+++ b/public_html/includes/class/class.LSattribute.php
@@ -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);
}
/**