LSformElement :: isMultiple() : Fixed notice PHP

This commit is contained in:
Benjamin Renard 2010-11-16 19:43:18 +01:00
parent 4e1e16a1ec
commit 274ad11e6d

View file

@ -252,7 +252,7 @@ class LSformElement {
* @retval boolean True si le champ est à valeur multiple, False sinon * @retval boolean True si le champ est à valeur multiple, False sinon
*/ */
function isMultiple() { function isMultiple() {
return ($this -> params['multiple'] == true); return ( (isset($this -> params['multiple']))?($this -> params['multiple'] == true):false );
} }
/** /**