// fix addons themes not being fetched

This commit is contained in:
tDidierjean
2012-03-01 14:11:54 +00:00
parent ad13d7e102
commit e94de5d8bb
2 changed files with 1 additions and 2 deletions

View File

@@ -34,7 +34,7 @@
tab: 'AdminThemes',
token: '{$token}',
ajax: '1',
action:'getAddons',
action:'getAddonsThemes',
page:'themes'
}, function(a){
$("#prestastore-content").html("<legend><img src='../img/admin/prestastore.gif' class='middle' />{l s='Live from PrestaShop Addons!'}</legend>"+a);

View File

@@ -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 = '';
}
/**