Fix settings trim cleaning arrays

v1.18.x
Ole R 9 years ago
parent f64a814b94
commit d3ad21f81f

@ -20,6 +20,7 @@ function expandObjBy(obj1, obj2) {
} }
function trim(obj1, obj2) { function trim(obj1, obj2) {
if (obj1 instanceof Array) { return; }
var key, val1; var key, val1;
for (key in obj1) { for (key in obj1) {
if (obj1.hasOwnProperty(key)) { if (obj1.hasOwnProperty(key)) {

Loading…
Cancel
Save