diff --git a/admin-dev/themes/default/template/controllers/themes/helpers/options/options.tpl b/admin-dev/themes/default/template/controllers/themes/helpers/options/options.tpl index 64081ae7f..404fd4e3f 100644 --- a/admin-dev/themes/default/template/controllers/themes/helpers/options/options.tpl +++ b/admin-dev/themes/default/template/controllers/themes/helpers/options/options.tpl @@ -34,7 +34,7 @@ tab: 'AdminThemes', token: '{$token}', ajax: '1', - action:'getAddons', + action:'getAddonsThemes', page:'themes' }, function(a){ $("#prestastore-content").html("{l s='Live from PrestaShop Addons!'}"+a); diff --git a/controllers/admin/AdminThemesController.php b/controllers/admin/AdminThemesController.php index 9fbba485f..d58ffbaf5 100644 --- a/controllers/admin/AdminThemesController.php +++ b/controllers/admin/AdminThemesController.php @@ -340,7 +340,6 @@ class AdminThemesControllerCore extends AdminController // notice : readfile should be replaced by something else if (@fsockopen('addons.prestashop.com', 80, $errno, $errst, 3)) readfile('http://addons.prestashop.com/adminmodules.php?lang='.$this->context->language->iso_code); - $this->content = ''; } /**