fix: scrutinizer
This commit is contained in:
parent
e9fe668725
commit
4795190a75
@ -250,6 +250,8 @@ class ExtraFields
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$result = 0;
|
||||||
|
|
||||||
if ($type == 'separate') {
|
if ($type == 'separate') {
|
||||||
$unique = 0;
|
$unique = 0;
|
||||||
$required = 0;
|
$required = 0;
|
||||||
@ -1978,10 +1980,10 @@ class ExtraFields
|
|||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
if ($display_type=='card') {
|
|
||||||
$tagtype='tr';
|
$tagtype='tr';
|
||||||
$tagtype_dyn='td';
|
$tagtype_dyn='td';
|
||||||
} elseif ($display_type=='line') {
|
|
||||||
|
if ($display_type=='line') {
|
||||||
$tagtype='div';
|
$tagtype='div';
|
||||||
$tagtype_dyn='span';
|
$tagtype_dyn='span';
|
||||||
$colspan=0;
|
$colspan=0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user