From 4381150a44bc495635f9ee67aedfe44d1c56b7ad Mon Sep 17 00:00:00 2001 From: Tekimaki Date: Thu, 28 May 2009 17:48:45 +0000 Subject: only eval data if its not empty --- templates/custom_module.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') 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} -- cgit v1.3