diff --git a/UI/WebServerResources/js/Preferences/Preferences.service.js b/UI/WebServerResources/js/Preferences/Preferences.service.js index af0da98d6..4d1552ba0 100644 --- a/UI/WebServerResources/js/Preferences/Preferences.service.js +++ b/UI/WebServerResources/js/Preferences/Preferences.service.js @@ -111,7 +111,7 @@ if ((angular.isUndefined(data.Vacation.autoReplyEmailAddresses) || data.Vacation.autoReplyEmailAddresses.length == 0) && angular.isDefined(window.defaultEmailAddresses)) - data.Vacation.autoReplyEmailAddresses = window.defaultEmailAddresses; + data.Vacation.autoReplyEmailAddresses = window.defaultEmailAddresses.slice(); if (angular.isUndefined(data.Vacation.daysBetweenResponse)) data.Vacation.daysBetweenResponse = 7;