From 82ea46c7402c0c6da0e93976fcf6f78b2cbf84b3 Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas Date: Tue, 7 Nov 2017 10:49:04 +0100 Subject: [PATCH] New dictionnaries are now pre-filtered on company country --- htdocs/admin/dict.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index fb9a101d474..f8ac87fcb3e 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -80,6 +80,7 @@ $pageprev = $page - 1; $pagenext = $page + 1; $search_country_id = GETPOST('search_country_id','int'); +if($search_country_id == '') $search_country_id = $mysoc->country_id; $search_code = GETPOST('search_code','alpha'); // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context