Skip to content

Commit

Permalink
Update AdminThemesController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Prestaworks committed Apr 12, 2013
1 parent dfab301 commit 7f5a78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admin/AdminThemesController.php
Expand Up @@ -614,7 +614,7 @@ protected function updateLogo($field_name, $logo_prefix)

$ext = ($field_name == 'PS_STORES_ICON') ? '.gif' : '.jpg';
$logo_name = $logo_prefix.'-'.(int)$id_shop.$ext;
if (Context::getContext()->shop->getContext() == Shop::CONTEXT_ALL || $id_shop == 0 || (bool)Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE')==false)
if (Context::getContext()->shop->getContext() == Shop::CONTEXT_ALL || $id_shop == 0 || Shop::isFeatureActive()==false)
$logo_name = $logo_prefix.$ext;

if ($field_name == 'PS_STORES_ICON')
Expand Down

0 comments on commit 7f5a78a

Please sign in to comment.