Author: jacopoc
Date: Sat Jul 22 00:23:37 2006
New Revision: 424532
URL:
http://svn.apache.org/viewvc?rev=424532&view=revLog:
Added check to prevent a NPE as suggested by Chris Howe in Apache OFBIZ-67.
Modified:
incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
Modified: incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl?rev=424532&r1=424531&r2=424532&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl (original)
+++ incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl Sat Jul 22 00:23:37 2006
@@ -24,7 +24,7 @@
<script language="javascript" src="<@ofbizContentUrl>/images/calendar1.js</@ofbizContentUrl>" type="text/javascript"></script>
<script language="javascript" src="<@ofbizContentUrl>/images/fieldlookup.js</@ofbizContentUrl>" type="text/javascript"></script>
<link rel="stylesheet" href="<@ofbizContentUrl>${(productStore.styleSheet)?default("/images/ecommain.css")}</@ofbizContentUrl>" type="text/css"/>
- ${layoutSettings.extraHead?if_exists}
+ ${layoutSettings?if_exists.extraHead?if_exists}
<#-- Append CSS for catalog -->
<#if catalogStyleSheet?exists>