[-] TR : #PSCFV-3977 : fix bug when upgrade of 1.4.x to 1.5.x

This commit is contained in:
lLefevre
2012-09-10 09:47:35 +00:00
parent 36d055597d
commit 7dd9eed41a
@@ -2195,7 +2195,7 @@ class AdminTranslationsControllerCore extends AdminController
$subject_mail = $this->getSubjectMail($dir, $file, $subject_mail);
// Get path of directory for find a good path of translation file
if ($this->theme_selected != self::DEFAULT_THEME_NAME)
if ($this->theme_selected != self::DEFAULT_THEME_NAME && @filemtime($this->translations_informations[$this->type_selected]['override']['dir']))
$i18n_dir = $this->translations_informations[$this->type_selected]['override']['dir'];
else
$i18n_dir = $this->translations_informations[$this->type_selected]['dir'];