summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorTekimaki <tekimaki_admin@users.sourceforge.net>2009-05-28 17:48:45 +0000
committerTekimaki <tekimaki_admin@users.sourceforge.net>2009-05-28 17:48:45 +0000
commit4381150a44bc495635f9ee67aedfe44d1c56b7ad (patch)
tree51df7c01df833aa63337490464d525f46cac54a9 /templates
parent7c70070f4b60ca44b48a8fe2d290452823e26042 (diff)
downloadthemes-4381150a44bc495635f9ee67aedfe44d1c56b7ad.tar.gz
themes-4381150a44bc495635f9ee67aedfe44d1c56b7ad.tar.bz2
themes-4381150a44bc495635f9ee67aedfe44d1c56b7ad.zip
only eval data if its not empty
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/custom_module.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/custom_module.tpl b/templates/custom_module.tpl
index 0ecce32..0cc30e4 100755
--- a/templates/custom_module.tpl
+++ b/templates/custom_module.tpl
@@ -1,4 +1,4 @@
-{* $Header: /cvsroot/bitweaver/_bit_themes/templates/custom_module.tpl,v 1.3 2007/04/15 18:30:51 squareing Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_themes/templates/custom_module.tpl,v 1.4 2009/05/28 17:48:45 tekimaki_admin Exp $ *}
{bitmodule title=$moduleParams.title name=$moduleParams.name}
- {eval var=$moduleParams.data}
+ {if $moduleParams.data}{eval var=$moduleParams.data}{/if}
{/bitmodule}