diff --git a/install-dev/upgrade/sql/1.6.0.2.sql b/install-dev/upgrade/sql/1.6.0.2.sql index 55c3dfabe..5eba8ecf0 100644 --- a/install-dev/upgrade/sql/1.6.0.2.sql +++ b/install-dev/upgrade/sql/1.6.0.2.sql @@ -4,5 +4,5 @@ INSERT INTO `PREFIX_hook_module` (`id_module`, `id_shop`, `id_hook`, `position`) SELECT m.id_module, s.id_shop, h.id_hook, 0 FROM `PREFIX_module` m, `PREFIX_shop` s, `PREFIX_hook` h WHERE m.name IN ('dashgoals', 'dashactivity', 'dashtrends', 'dashproducts') - AND h.name IN ('displayBackOfficeHeader') + AND h.name IN ('actionAdminControllerSetMedia') ); diff --git a/modules/blockcategories/blockcategories.tpl b/modules/blockcategories/blockcategories.tpl index 86acc7807..49013faab 100644 --- a/modules/blockcategories/blockcategories.tpl +++ b/modules/blockcategories/blockcategories.tpl @@ -22,9 +22,8 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} - - {if $blockCategTree && $blockCategTree.children|@count} +
{if isset($currentCategory)}{$currentCategory->name|escape}{else}{l s='Categories' mod='blockcategories'}{/if}