12311 change de langue

This commit is contained in:
Fred Tempez 2023-05-10 09:45:00 +02:00
parent 50a8b3a712
commit 8965e58964

View File

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