LSform: fix typo

This commit is contained in:
Benjamin Renard 2021-06-09 18:52:26 +02:00
parent 1aed362863
commit cab8c2e66d

View file

@ -150,7 +150,7 @@ class LSform extends LSlog_staticLoggerClass {
}
$fields = array();
if (!isset($this -> dataEntryFormConfig['displayedElements']) && !is_array($this -> dataEntryFormConfig['displayedElements'])) {
if (!isset($this -> dataEntryFormConfig['displayedElements']) || !is_array($this -> dataEntryFormConfig['displayedElements'])) {
foreach($this -> elements as $element) {
$field = array();
$field = $element -> getDisplay();