Author: jacopoc
Date: Sat May 31 08:08:52 2008
New Revision: 662035
URL:
http://svn.apache.org/viewvc?rev=662035&view=revLog:
Fix for NPE under some circumstances.
Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/newmsg.ftl
Modified: ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/newmsg.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/newmsg.ftl?rev=662035&r1=662034&r2=662035&view=diff==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/newmsg.ftl (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/newmsg.ftl Sat May 31 08:08:52 2008
@@ -48,7 +48,7 @@
<tr>
<td width="5"> </td>
<td align="right"><div class="tableheadtext">${uiLabelMap.CommonFrom}:</div></td>
- <td><div class="tabletext"> ${sessionAttributes.autoName} [${userLogin.partyId}] (${uiLabelMap.CommonNotYou}? <a href="<@ofbizUrl>autoLogout</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonClickHere}</a>)</div></td>
+ <td><div class="tabletext"> ${sessionAttributes.autoName?if_exists} [${userLogin.partyId}] (${uiLabelMap.CommonNotYou}? <a href="<@ofbizUrl>autoLogout</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonClickHere}</a>)</div></td>
</tr>
<#if partyIdTo?has_content>
<#assign partyToName = Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, partyIdTo, true)>