Skip to content

Commit ead0fc6

Browse files
committed
fixing bug in restoring previous load options
1 parent 3056f2e commit ead0fc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quick-start/src/main/resources/static/app/mlcp/mlcp.groups.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
angular.forEach(groups, function(group) {
242242
angular.forEach(group.settings, function(setting) {
243243
if (setting.field === key) {
244-
setting.value = value.replace(/"/g, '');
244+
setting.value = (value && value.replace) ? value.replace(/"/g, '') : value;
245245
}
246246
});
247247
});

0 commit comments

Comments
 (0)