fix getCategoryLink with no argument in blockcart

This commit is contained in:
Rodney Figaro 2017-02-24 15:14:13 +01:00
parent dad5915429
commit 3882a42da1

View File

@ -216,11 +216,13 @@
{l s='Proceed to checkout' mod='blockcart'}
</span>
</a>
<a id="back_to_category" href="{$link->getCategoryLink()|escape:'htmlall':'UTF-8'}" class="continue button-grey left" >
{if isset($product)}
<a id="back_to_category" href="{$link->getCategoryLink($product.id_category_default)|escape:'htmlall':'UTF-8'}" class="continue button-grey left" >
<span>
{l s='Continue shopping' mod='blockcart'}
</span>
</a>
{/if}
</div>
<div class="clearfix"></div>