12311 change de langue

This commit is contained in:
Fred Tempez 2023-05-10 09:45:00 +02:00
parent 50a8b3a712
commit 8965e58964
1 changed files with 1 additions and 2 deletions

View File

@ -660,8 +660,7 @@ class translate extends common
*/
if (
$this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD') &&
$this->getUser('group') > self::GROUP_MODERATOR &&
is_dir(self::DATA_DIR . $lang) &&
array_key_exists($lang, self::$languages) === true
) {