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:
@@ -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('"');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user