diff --git a/core/module/translate/translate.php b/core/module/translate/translate.php index 8cc5e81c..8225b10e 100644 --- a/core/module/translate/translate.php +++ b/core/module/translate/translate.php @@ -69,7 +69,6 @@ class translate extends common $lang = $this->getUrl(2); // Jeton incorrect ou URl avec le code langue incorrecte if ( - $this->checkCSRF() && array_key_exists($lang, self::$languages) === false ) { // Valeurs en sortie @@ -541,8 +540,7 @@ class translate extends common $target = $this->getUrl(2); $lang = $this->getUrl(3); if ( - $this->checkCSRF() - || array_key_exists($lang, self::$languages) === false + array_key_exists($lang, self::$languages) === false ) { // Valeurs en sortie $this->addOutput([ @@ -596,8 +594,7 @@ class translate extends common // Jeton incorrect ou URl avec le code langue incorrecte $lang = $this->getUrl(2); if ( - $this->checkCSRF() - || array_key_exists($lang, self::$languages) === false + array_key_exists($lang, self::$languages) === false ) { // Valeurs en sortie $this->addOutput([