Fix a bug reported by Qin Sheng on user ML. This wrong C/P was introduced by r585750
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928470 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -770,7 +770,7 @@ public class ComponentConfig {
|
||||
// load the init parameters
|
||||
List<? extends Element> initParamList = UtilXml.childElementList(element, "init-param");
|
||||
if (UtilValidate.isNotEmpty(initParamList)) {
|
||||
for (Element e: virtHostList) {
|
||||
for (Element e: initParamList) {
|
||||
this.initParameters.put(e.getAttribute("name"), e.getAttribute("value"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user