Author: ashish
Date: Fri Jan 22 07:43:18 2010
New Revision: 902020
URL:
http://svn.apache.org/viewvc?rev=902020&view=revLog:
Minor fix. Added if_exists check.
Patch from Amit.
Modified:
ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl
Modified: ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl?rev=902020&r1=902019&r2=902020&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/reviews/pendingReviews.ftl Fri Jan 22 07:43:18 2010
@@ -86,7 +86,7 @@
<option value="Y">${uiLabelMap.CommonY}</option>
</select>
</td>
- <td>${review.getRelatedOne("Product").internalName}<br/><a class="buttontext" href="<@ofbizUrl>EditProduct?productId=${review.productId}</@ofbizUrl>">${review.productId}</a></td>
+ <td>${review.getRelatedOne("Product").internalName?if_exists}<br/><a class="buttontext" href="<@ofbizUrl>EditProduct?productId=${review.productId}</@ofbizUrl>">${review.productId}</a></td>
<td>
<input type="text" size='3' name="productRating_o_${rowCount}" value="${review.productRating?if_exists?string}">
</td>