best conditions testing
This commit is contained in:
parent
4f7be36249
commit
500bb7bc96
@ -6152,7 +6152,8 @@ abstract class CommonObject
|
|||||||
$e = 0;
|
$e = 0;
|
||||||
foreach($extrafields->attributes[$this->table_element]['label'] as $key=>$label)
|
foreach($extrafields->attributes[$this->table_element]['label'] as $key=>$label)
|
||||||
{
|
{
|
||||||
if(empty($extrafields->attribute_list[$key]) && $mode == 'view'){
|
if (isset($extrafields->attributes[$this->table_element]['list'][$key])
|
||||||
|
&& empty($extrafields->attributes[$this->table_element]['list'][$key]) && $mode == 'view'){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user