hi everybody,
im trying to merge
<div class="submenu">
<a href="[var._SERVER.PHP_SELF]?c=[category.cat_id;block=a;magnet=a;]">[category.title]</a>
</div>
|
by using
$TBS->MergeBlock('archive',$arrArchive);
|
in case $arrArchive is NULL i get:
MergeBlock [archiv]): Unsupported variable type : 'NULL'.
and i'm not able to just drop the line in the template so it is just empty.
do i always need to check my output for NULL and set
$TBS->MergeBlock('category','clear');
|
which seems very inconvenient.
can anyone help?
thanks.