Author: jonesde
Date: Thu Jun 14 16:39:27 2007
New Revision: 547450
URL:
http://svn.apache.org/viewvc?view=rev&rev=547450Log:
Small change so softIdentifier isn't required, ie so it doesn't blow the page
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl?view=diff&rev=547450&r1=547449&r2=547450==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl Thu Jun 14 16:39:27 2007
@@ -52,7 +52,7 @@
<td>${inventoryItem.serialNumber?if_exists}</td>
<td>
${inventoryItem.softIdentifier?if_exists}
- <#if (inventoryItem.softIdentifier?matches("\\d+"))>
+ <#if (inventoryItem.softIdentifier?has_content && inventoryItem.softIdentifier?matches("\\d+"))>
<#assign sid = Static["java.lang.Long"].decode(inventoryItem.softIdentifier)/>
(0x${Static["java.lang.Long"].toHexString(sid)})
</#if>