Merge branch 'master' of github.com:john30/ebusd

This commit is contained in:
john30
2017-08-22 07:47:43 +02:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1211,7 +1211,7 @@ result_t DataFieldTemplates::getFieldMap(const string& preferLanguage, vector<st
}
} else {
map<string, size_t>::iterator previous = seen.find(lowerName);
if (seen.find(lowerName) != seen.end()) {
if (previous != seen.end()) {
if (inDataFields) {
*errorDescription = "duplicate field " + name;
} else {
+1 -1
View File
@@ -1861,7 +1861,7 @@ result_t MessageMap::getFieldMap(const string& preferLanguage, vector<string>* r
}
} else {
map<string, size_t>::iterator previous = seen.find(lowerName);
if (seen.find(lowerName) != seen.end()) {
if (previous != seen.end()) {
if (inDataFields) {
*errorDescription = "duplicate field " + name;
} else {