From 04a788a1e37d92eb8bc80e6029f56ed236b9cf83 Mon Sep 17 00:00:00 2001 From: mBertholino Date: Tue, 31 Jan 2012 13:39:46 +0000 Subject: [PATCH] [-] BO : #PSTEST-609 --- controllers/admin/AdminTranslationsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminTranslationsController.php b/controllers/admin/AdminTranslationsController.php index 8f7fa56d2..c32084fb7 100644 --- a/controllers/admin/AdminTranslationsController.php +++ b/controllers/admin/AdminTranslationsController.php @@ -259,7 +259,7 @@ class AdminTranslationsControllerCore extends AdminController $items = array_flip(Language::getFilesList($lang, $theme, false, false, false, false, true)); $gz = new Archive_Tar(_PS_TRANSLATIONS_DIR_.'/export/'.$lang.'.gzip', true); if ($gz->createModify($items, null, _PS_ROOT_DIR_)); - Tools::redirect('translations/export/'.$lang.'.gzip'); + Tools::redirectLink(Tools::getCurrentUrlProtocolPrefix().Tools::getShopDomain().__PS_BASE_URI__.'translations/export/'.$lang.'.gzip'); $this->errors[] = Tools::displayError('An error occurred while creating archive.'); } $this->errors[] = Tools::displayError('Please choose a language and theme.');