This commit is contained in:
Fred Tempez 2023-05-10 09:43:20 +02:00
parent a46848922f
commit 4901cb9052
1 changed files with 1 additions and 2 deletions

View File

@ -638,8 +638,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
) {