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

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

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

jacopoc
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="<@ofbizUrl>autoLogout</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonClickHere}</a>)</div></td>
+            <td><div class="tabletext">&nbsp;${sessionAttributes.autoName?if_exists} [${userLogin.partyId}] (${uiLabelMap.CommonNotYou}?&nbsp;<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)>