[-] FO : fixed an error of assign variable with smarty

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12435 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aNiassy
2012-01-16 14:38:21 +00:00
parent 6e7f0fea9b
commit f219f3a4c6
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -185,6 +185,7 @@ class CategoryControllerCore extends FrontController
else else
// Pagination must be call after "getProducts" // Pagination must be call after "getProducts"
$this->pagination($this->nbProducts); $this->pagination($this->nbProducts);
self::$smarty->assign('categoryNameComplement', '');
$this->context->smarty->assign('nb_products', $this->nbProducts); $this->context->smarty->assign('nb_products', $this->nbProducts);
} }
} }
+3 -1
View File
@@ -32,7 +32,9 @@
<h1> <h1>
{strip} {strip}
{$category->name|escape:'htmlall':'UTF-8'} {$category->name|escape:'htmlall':'UTF-8'}
{$categoryNameComplement|escape:'htmlall':'UTF-8'} {if isset($categoryNameComplement)}
{$categoryNameComplement|escape:'htmlall':'UTF-8'}
{/if}
{/strip} {/strip}
</h1> </h1>