Author: doogie
Date: Thu Oct 1 21:01:23 2009
New Revision: 820787
URL:
http://svn.apache.org/viewvc?rev=820787&view=revLog:
Another NPE, UserLogin may not have an associated party.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl?rev=820787&r1=820786&r2=820787&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl Thu Oct 1 21:01:23 2009
@@ -38,7 +38,9 @@
<#list orderNotes as note>
<tr>
<td valign="top" width="35%">
- <div> <span class="label">${uiLabelMap.CommonBy}</span> ${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, note.noteParty, true)}</div>
+ <#if note.noteParty?has_content>
+ <div> <span class="label">${uiLabelMap.CommonBy}</span> ${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, note.noteParty, true)}</div>
+ </#if>
<div> <span class="label">${uiLabelMap.CommonAt}</span> ${note.noteDateTime?string?if_exists}</div>
</td>
<td valign="top" width="50%">
@@ -78,4 +80,4 @@
</table>
</div>
</div>
-</#if>
\ No newline at end of file
+</#if>