svn commit: r424532 - /incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r424532 - /incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

jacopoc
Author: jacopoc
Date: Sat Jul 22 00:23:37 2006
New Revision: 424532

URL: http://svn.apache.org/viewvc?rev=424532&view=rev
Log:
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>