Convert one direct call to ContentUrlTag.appendContentPrefix to the

local appendContentUrl.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789200 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adam Heath
2009-06-29 03:17:39 +00:00
parent 8ad5bb7271
commit 758cc25a46
@@ -2666,10 +2666,7 @@ public class HtmlFormRenderer extends HtmlWidgetRenderer implements FormStringRe
String value = modelFormField.getEntry(context, imageField.getValue(context));
if (UtilValidate.isNotEmpty(value)) {
writer.append(" src=\"");
StringBuilder buffer = new StringBuilder();
ContentUrlTag.appendContentPrefix(request, buffer);
writer.append(buffer.toString());
writer.append(value);
appendContentUrl(writer, value);
writer.append('"');
}