From 54bae2e5e2d1bcef2df35853409b05e0eea1cecf Mon Sep 17 00:00:00 2001 From: VESSILLER Date: Wed, 13 Sep 2023 08:20:15 +0200 Subject: [PATCH] Fix travis sql --- .../webportal/public/class/html.formlistwebportal.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/webportal/public/class/html.formlistwebportal.class.php b/htdocs/webportal/public/class/html.formlistwebportal.class.php index d125304b7b3..5d5a0b6fc9d 100644 --- a/htdocs/webportal/public/class/html.formlistwebportal.class.php +++ b/htdocs/webportal/public/class/html.formlistwebportal.class.php @@ -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) {