From 2205667ca0f8967b24c1f385916dae4ff271aaed Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 27 Feb 2020 21:57:36 +0100 Subject: [PATCH] Fix multilang --- htdocs/website/class/website.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/website/class/website.class.php b/htdocs/website/class/website.class.php index 60fac55f443..983f628676d 100644 --- a/htdocs/website/class/website.class.php +++ b/htdocs/website/class/website.class.php @@ -1412,7 +1412,7 @@ class Website extends CommonObject $countrycode = strtolower(substr($languagecodeselected, -2)); $label = $weblangs->trans("Language_".$languagecodeselected); if ($countrycode == 'us') $label = preg_replace('/\s*\(.*\)/', '', $label); - $out .= '
  • '.$label; + $out .= '
  • '.$label; $out .= ''; $out .= '
  • '; } @@ -1431,7 +1431,7 @@ class Website extends CommonObject $countrycode = strtolower(substr($languagecode, -2)); $label = $weblangs->trans("Language_".$languagecode); if ($countrycode == 'us') $label = preg_replace('/\s*\(.*\)/', '', $label); - $out .= '
  • '.$label; + $out .= '
  • '.$label; if (empty($i) && empty($languagecodeselected)) $out .= ''; $out .= '
  • '; $i++;