You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2008/05/31 17:08:52 UTC

svn commit: r662035 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/newmsg.ftl

Author: jacopoc
Date: Sat May 31 08:08:52 2008
New Revision: 662035

URL: http://svn.apache.org/viewvc?rev=662035&view=rev
Log:
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">&nbsp;</td>
             <td align="right"><div class="tableheadtext">${uiLabelMap.CommonFrom}:</div></td>
-            <td><div class="tabletext">&nbsp;${sessionAttributes.autoName} [${userLogin.partyId}] (${uiLabelMap.CommonNotYou}?&nbsp;<a href="<@o...@ofbizUrl>" class="buttontext">${uiLabelMap.CommonClickHere}</a>)</div></td>
+            <td><div class="tabletext">&nbsp;${sessionAttributes.autoName?if_exists} [${userLogin.partyId}] (${uiLabelMap.CommonNotYou}?&nbsp;<a href="<@o...@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)>