FIX stickler-ci

This commit is contained in:
lvessiller 2022-04-14 11:27:11 +02:00
parent ab61c4d735
commit a215dd8043

View File

@ -6888,7 +6888,7 @@ abstract class CommonObject
}
// Some tables may have field, some other not. For the moment we disable it.
if (in_array($InfoFieldList[0], array('tablewithentity'))) {
$sqlwhere .= " AND entity = " . ((int)$conf->entity);
$sqlwhere .= " AND entity = " . ((int) $conf->entity);
}
$sql .= $sqlwhere;
//print $sql;
@ -7060,7 +7060,7 @@ abstract class CommonObject
}
// Some tables may have field, some other not. For the moment we disable it.
if (in_array($InfoFieldList[0], array('tablewithentity'))) {
$sqlwhere .= " AND entity = " . ((int)$conf->entity);
$sqlwhere .= " AND entity = " . ((int) $conf->entity);
}
// $sql.=preg_replace('/^ AND /','',$sqlwhere);
// print $sql;