Fix isMultiLang

This commit is contained in:
Laurent Destailleur 2020-03-06 13:44:15 +01:00
parent ad9d0a3472
commit c4a9824685

View File

@ -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);
}
/**