// fix category_tree if no tree
This commit is contained in:
1 parent
0cbb18dbc1
commit
1e03dd00fb
1 file changed
+2
@@ -11,6 +11,7 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
{if isset($category_tree)}
|
||||||
{l s='Go to category:'}
|
{l s='Go to category:'}
|
||||||
<select id="go_to_categ" name="go_to_categ">
|
<select id="go_to_categ" name="go_to_categ">
|
||||||
{foreach from=$category_tree item=categ}
|
{foreach from=$category_tree item=categ}
|
||||||
@@ -19,4 +20,5 @@
|
|||||||
</option>
|
</option>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</select>
|
</select>
|
||||||
|
{/if}
|
||||||
{/block}
|
{/block}
|
||||||
Reference in new issue
Block a user