FIX stickler-ci
This commit is contained in:
parent
ab61c4d735
commit
a215dd8043
@ -6888,7 +6888,7 @@ abstract class CommonObject
|
|||||||
}
|
}
|
||||||
// Some tables may have field, some other not. For the moment we disable it.
|
// Some tables may have field, some other not. For the moment we disable it.
|
||||||
if (in_array($InfoFieldList[0], array('tablewithentity'))) {
|
if (in_array($InfoFieldList[0], array('tablewithentity'))) {
|
||||||
$sqlwhere .= " AND entity = " . ((int)$conf->entity);
|
$sqlwhere .= " AND entity = " . ((int) $conf->entity);
|
||||||
}
|
}
|
||||||
$sql .= $sqlwhere;
|
$sql .= $sqlwhere;
|
||||||
//print $sql;
|
//print $sql;
|
||||||
@ -7060,7 +7060,7 @@ abstract class CommonObject
|
|||||||
}
|
}
|
||||||
// Some tables may have field, some other not. For the moment we disable it.
|
// Some tables may have field, some other not. For the moment we disable it.
|
||||||
if (in_array($InfoFieldList[0], array('tablewithentity'))) {
|
if (in_array($InfoFieldList[0], array('tablewithentity'))) {
|
||||||
$sqlwhere .= " AND entity = " . ((int)$conf->entity);
|
$sqlwhere .= " AND entity = " . ((int) $conf->entity);
|
||||||
}
|
}
|
||||||
// $sql.=preg_replace('/^ AND /','',$sqlwhere);
|
// $sql.=preg_replace('/^ AND /','',$sqlwhere);
|
||||||
// print $sql;
|
// print $sql;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user