mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-19 00:29:21 +01:00
LSformElement::jsonCompositeAttribute: Fix PHP warning
This commit is contained in:
parent
514a2eb0fd
commit
14352da6bd
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ class LSformElement_jsonCompositeAttribute extends LSformElement {
|
|||
$errors[]=getFData(_('Invalid value "%{value}" for component %{component}.'),array('value' => $val, 'component' => __($cconf['label'])));
|
||||
}
|
||||
}
|
||||
if (is_array($cconf['check_data'])) {
|
||||
if (isset($cconf['check_data']) && is_array($cconf['check_data'])) {
|
||||
foreach($cconf['check_data'] as $ruleType => $rconf) {
|
||||
$className='LSformRule_'.$ruleType;
|
||||
if (LSsession::loadLSclass($className)) {
|
||||
|
|
Loading…
Reference in a new issue