Skip to content

Commit

Permalink
Merge pull request PrestaShop#35994 from PrestaEdit/patch-212
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
matthieu-rolland authored Apr 25, 2024
2 parents 0b383ea + 68d8f99 commit d07c120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/admin/AdminTranslationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2628,13 +2628,13 @@ public function initFormMails($no_display = false)

$modules_has_mails = $this->getModulesHasMails(true);

$files_by_directiories = $this->getFileToParseByTypeTranslation();
$files_by_directories = $this->getFileToParseByTypeTranslation();

if (!$this->theme_selected || !@filemtime($this->translations_informations[$this->type_selected]['override']['dir'])) {
$this->copyMailFilesForAllLanguages();
}

foreach ($files_by_directiories['php'] as $dir => $files) {
foreach ($files_by_directories['php'] as $dir => $files) {
if (!empty($files)) {
foreach ($files as $file) {
// If file exist and is not in ignore_folder, in the next step we check if a folder or mail
Expand Down

0 comments on commit d07c120

Please sign in to comment.