fix: scrutinizer
This commit is contained in:
parent
e9fe668725
commit
4795190a75
@ -6488,7 +6488,7 @@ abstract class CommonObject
|
||||
|
||||
$out = '';
|
||||
$type = '';
|
||||
$isDependList=0;
|
||||
$isDependList = 0;
|
||||
$param = array();
|
||||
$param['options'] = array();
|
||||
$reg = array();
|
||||
@ -6796,7 +6796,7 @@ abstract class CommonObject
|
||||
|
||||
if (!empty($InfoFieldList[3]) && $parentField) {
|
||||
$parent = $parentName.':'.$obj->{$parentField};
|
||||
$isDependList=1;
|
||||
$isDependList = 1;
|
||||
}
|
||||
|
||||
$out .= '<option value="'.$obj->rowid.'"';
|
||||
@ -6951,7 +6951,7 @@ abstract class CommonObject
|
||||
|
||||
if (!empty($InfoFieldList[3]) && $parentField) {
|
||||
$parent = $parentName.':'.$obj->{$parentField};
|
||||
$isDependList=1;
|
||||
$isDependList = 1;
|
||||
}
|
||||
|
||||
$data[$obj->rowid] = $labeltoshow;
|
||||
|
||||
@ -250,6 +250,8 @@ class ExtraFields
|
||||
return -1;
|
||||
}
|
||||
|
||||
$result = 0;
|
||||
|
||||
if ($type == 'separate') {
|
||||
$unique = 0;
|
||||
$required = 0;
|
||||
@ -1978,10 +1980,10 @@ class ExtraFields
|
||||
{
|
||||
global $conf, $langs;
|
||||
|
||||
if ($display_type=='card') {
|
||||
$tagtype='tr';
|
||||
$tagtype_dyn='td';
|
||||
} elseif ($display_type=='line') {
|
||||
$tagtype='tr';
|
||||
$tagtype_dyn='td';
|
||||
|
||||
if ($display_type=='line') {
|
||||
$tagtype='div';
|
||||
$tagtype_dyn='span';
|
||||
$colspan=0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user