From 4d20ba2e4ede30fd0926a56f73e259e9b1511206 Mon Sep 17 00:00:00 2001 From: Gurvan Kervern Date: Thu, 19 Aug 2021 04:29:09 +0800 Subject: [PATCH] Update services_list.php --- htdocs/contrat/services_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/contrat/services_list.php b/htdocs/contrat/services_list.php index ce9d0aa47a4..24b6e643b51 100644 --- a/htdocs/contrat/services_list.php +++ b/htdocs/contrat/services_list.php @@ -479,7 +479,7 @@ if ($mode == "5") { print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'contract', 0, '', '', $limit); -if (isset($sall)) { +if (!empty($sall)) { foreach ($fieldstosearchall as $key => $val) { $fieldstosearchall[$key] = $langs->trans($val); }