Do not call fields_get for field name with '.'

issue7538
review66261003
This commit is contained in:
Cédric Krier committed 2018-07-02 23:25:26 +02:00
1 parent 444e95758d
commit 33036a3b37
1 file changed
+2 -1
+2 -1
View File
@@ -2118,7 +2118,8 @@
l.forEach(function(v) {
Object.keys(v).forEach(function(f) {
if (!(f in fields) &&
(f != 'id')) {
(f != 'id') &&
(!~f.indexOf('.'))) {
field_names[f] = true;
}
});