svn commit: r540874 - /ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl

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

svn commit: r540874 - /ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl

lektran
Author: lektran
Date: Wed May 23 01:17:25 2007
New Revision: 540874

URL: http://svn.apache.org/viewvc?view=rev&rev=540874
Log:
Applied fix from trunk for revision: 533302

Modified:
    ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl

Modified: ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl?view=diff&rev=540874&r1=540873&r2=540874
==============================================================================
--- ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl (original)
+++ ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl Wed May 23 01:17:25 2007
@@ -413,13 +413,13 @@
             <#list partyContent as contentRole>
               <#assign content = contentRole.getRelatedOne("Content")>
               <#assign contentType = content.getRelatedOneCache("ContentType")>
-              <#assign mimeType = content.getRelatedOneCache("MimeType")>
+              <#assign mimeType = content.getRelatedOneCache("MimeType")?if_exists>
               <#assign status = content.getRelatedOneCache("StatusItem")>
               <tr>
                 <td><a href="<@ofbizUrl>img/${content.contentName}?imgId=${content.dataResourceId}</@ofbizUrl>" class="buttontext">${content.contentId}</a>
                 <td><div class="tabletext">${content.contentName?if_exists}</div></td>
                 <td><div class="tabletext">${(contentType.get("description",locale))?if_exists}</div></td>
-                <td><div class="tabletext">${(mimeType.description)?if_exists}</div></td>
+                <td><div class="tabletext">${mimeType?if_exists.description?if_exists}</div></td>
                 <td><div class="tabletext">${(status.get("description",locale))?if_exists}</div></td>
                 <td><div class="tabletext">${contentRole.fromDate?if_exists}</div></td>
                 <td align="right">