From 8b5c4b02c137870aa7e34882f242fda0cda0c0a3 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Thu, 19 May 2022 12:17:45 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/admin/dict.php | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index 6b5d28cc4f9..2ac4fa76682 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -709,7 +709,6 @@ if (empty($reshook)) { // Check that all mandatory fields are filled $ok = 1; foreach ($listfield as $f => $value) { - // Discard check of mandatory fields for country for some tables if ($value == 'country_id' && in_array($tablib[$id], array('DictionaryPublicHolidays', 'DictionaryVAT', 'DictionaryRegion', 'DictionaryCompanyType', 'DictionaryHolidayTypes', 'DictionaryRevenueStamp', 'DictionaryAccountancysystem', 'DictionaryAccountancyCategory'))) { continue; // For some pages, country is not mandatory