From c4a9824685c83ae45f94220f8df312bc1769841a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 6 Mar 2020 13:44:15 +0100 Subject: [PATCH] Fix isMultiLang --- htdocs/website/class/website.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/website/class/website.class.php b/htdocs/website/class/website.class.php index 234542100a3..1856b92ff8e 100644 --- a/htdocs/website/class/website.class.php +++ b/htdocs/website/class/website.class.php @@ -1267,9 +1267,7 @@ class Website extends CommonObject */ public function isMultiLang() { - // TODO Can edit list of languages of web site. Return false if there is only 0 or 1 language. - - return true; + return (empty($this->otherlang) ? false : true); } /**