From e72949ef45892befa5c6fc9708bb0862f1d36c13 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 12 Feb 2015 07:44:58 -0800 Subject: [PATCH] crmMailingMgr - Fix saving of blank footer_id/header_id --- js/angular-crmMailing/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/angular-crmMailing/services.js b/js/angular-crmMailing/services.js index 61f3c2219d..08efca1fb4 100644 --- a/js/angular-crmMailing/services.js +++ b/js/angular-crmMailing/services.js @@ -308,7 +308,7 @@ // Angular ngModel sometimes treats blank fields as undefined. angular.forEach(mailing, function(value, key) { - if (value === undefined) { + if (value === undefined || value === null) { mailing[key] = ''; } }); -- 2.25.1