Skip to content

Commit

Permalink
Merge pull request #223 from paxtonhare/bug_fixes
Browse files Browse the repository at this point in the history
fixing bug in restoring previous load options
  • Loading branch information
paxtonhare committed Apr 28, 2016
2 parents 3056f2e + ead0fc6 commit bed7cf9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
angular.forEach(groups, function(group) {
angular.forEach(group.settings, function(setting) {
if (setting.field === key) {
setting.value = value.replace(/"/g, '');
setting.value = (value && value.replace) ? value.replace(/"/g, '') : value;
}
});
});
Expand Down

0 comments on commit bed7cf9

Please sign in to comment.