FIX avoid php 8.x warning
This commit is contained in:
parent
1685e1be79
commit
4d149dc3fe
@ -2038,7 +2038,7 @@ class ExtraFields
|
||||
$nofillrequired = 0; // For error when required field left blank
|
||||
$error_field_required = array();
|
||||
|
||||
if (is_array($this->attributes[$object->table_element]['label'])) {
|
||||
if (isset($this->attributes[$object->table_element]['label']) && is_array($this->attributes[$object->table_element]['label'])) {
|
||||
$extralabels = $this->attributes[$object->table_element]['label'];
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user