mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix travis sql
This commit is contained in:
parent
c6b4eb0da7
commit
54bae2e5e2
|
|
@ -299,8 +299,8 @@ class FormListWebPortal
|
|||
} else {
|
||||
$sql .= " WHERE 1 = 1";
|
||||
}
|
||||
// TODO : filter on logged third-party
|
||||
//$sql .= " AND t.fk_soc = " . (int) $context->logged_thirdparty->id;
|
||||
// filter on logged third-party
|
||||
$sql .= " AND t.fk_soc = " . (int) $context->logged_thirdparty->id;
|
||||
foreach ($search as $key => $val) {
|
||||
if (array_key_exists($key, $object->fields)) {
|
||||
if (($key == 'status' || $key == 'fk_statut') && $search[$key] == $emptyValueKey) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user