commit
e7205a4f79
@ -14,7 +14,7 @@ if (empty($extrafieldsobjectkey) && is_object($object)) {
|
|||||||
|
|
||||||
// Loop to show all columns of extrafields from $obj, $extrafields and $db
|
// Loop to show all columns of extrafields from $obj, $extrafields and $db
|
||||||
if (!empty($extrafieldsobjectkey)) { // $extrafieldsobject is the $object->table_element like 'societe', 'socpeople', ...
|
if (!empty($extrafieldsobjectkey)) { // $extrafieldsobject is the $object->table_element like 'societe', 'socpeople', ...
|
||||||
if (is_array($extrafields->attributes[$extrafieldsobjectkey]['label']) && count($extrafields->attributes[$extrafieldsobjectkey]['label']) > 0) {
|
if (isset($extrafields->attributes[$extrafieldsobjectkey]['label']) && is_array($extrafields->attributes[$extrafieldsobjectkey]['label']) && count($extrafields->attributes[$extrafieldsobjectkey]['label']) > 0) {
|
||||||
if (empty($extrafieldsobjectprefix)) {
|
if (empty($extrafieldsobjectprefix)) {
|
||||||
$extrafieldsobjectprefix = 'ef.';
|
$extrafieldsobjectprefix = 'ef.';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user