mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
* FIX #35318 better array check fields_label * Update html.formwebportal.class.php * Update extrafields.class.php * Update commonobject.class.php * Update ajaxextrafield.php --------- Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk> Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -8000,8 +8000,8 @@ abstract class CommonObject
|
||||
}
|
||||
|
||||
if (!$filter_categorie) {
|
||||
$fields_label = explode('|', $InfoFieldList[1]);
|
||||
if (is_array($fields_label)) {
|
||||
$fields_label = isset($InfoFieldList[1]) ? explode('|', $InfoFieldList[1]) : array();
|
||||
if (!empty($fields_label)) {
|
||||
$keyList .= ', ';
|
||||
$keyList .= implode(', ', $fields_label);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user