diff --git a/themes/default/mobile/pagination.tpl b/themes/default/mobile/pagination.tpl
index 06e2c4fb1..42d450e6a 100644
--- a/themes/default/mobile/pagination.tpl
+++ b/themes/default/mobile/pagination.tpl
@@ -50,7 +50,7 @@
-
{if isset($categoriesTree.children)}
{l s='Our offers'}
{for $i=0 to 4}
{if isset($categoriesTree.children.$i)}
+ {if isset($categoriesTree.children.$i.children) && ($categoriesTree.children.$i.children|@count > 0)}
+ {include file="./category-tree-branch.tpl" node=$categoriesTree.children.$i}
+ {else}
-
{$categoriesTree.children.$i.name|escape:'htmlall':'UTF-8'}
+ {/if}
{/if}
{/for}
-