diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 83157cc8c9d..d580029a5cc 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -2871,7 +2871,7 @@ if (!function_exists("llxFooter")) version: '', entity: 'entity; ?>', dbtype: 'type); ?>', - country_code: 'country_code); ?>', + country_code: 'country_code ? dol_escape_js($mysoc->country_code) : 'unknown'; ?>', php_version: '', os_version: '', distrib: ''