Skip to content

Commit bed7cf9

Browse files
committed
Merge pull request #223 from paxtonhare/bug_fixes
fixing bug in restoring previous load options
2 parents 3056f2e + ead0fc6 commit bed7cf9

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)