12311 change de langue
This commit is contained in:
parent
50a8b3a712
commit
8965e58964
@ -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
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user