summaryrefslogtreecommitdiffstats
path: root/Kernel/Output/HTML/DefaultRecipient.pm
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-01-25 14:09:55 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-01-25 19:15:21 +0100
commite6185fb9a55ee47b3497c0150762e07d3538bdc2 (patch)
tree9efcf8c1d3782770c58bb74da7d765bc6a572fcd /Kernel/Output/HTML/DefaultRecipient.pm
parentf9f961a91ced51c1f816761c70c08fdf499331fd (diff)
downloadDefaultRecipient-e6185fb9a55ee47b3497c0150762e07d3538bdc2.tar.gz
DefaultRecipient-e6185fb9a55ee47b3497c0150762e07d3538bdc2.tar.bz2
DefaultRecipient-e6185fb9a55ee47b3497c0150762e07d3538bdc2.zip
Remove AddNew.
If you do not want to add a new recipient, simply leave the NewAddress field empty.
Diffstat (limited to 'Kernel/Output/HTML/DefaultRecipient.pm')
-rw-r--r--Kernel/Output/HTML/DefaultRecipient.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Output/HTML/DefaultRecipient.pm b/Kernel/Output/HTML/DefaultRecipient.pm
index 9ad424f..9b12f3b 100644
--- a/Kernel/Output/HTML/DefaultRecipient.pm
+++ b/Kernel/Output/HTML/DefaultRecipient.pm
@@ -71,7 +71,7 @@ sub Run {
);
$RemoveTo = 1 if $DefaultRecipient{RemoveTo};
- if ( $DefaultRecipient{AddNew} ) {
+ if ( $DefaultRecipient{NewAddress} ne '' ) {
push @Addresses, $DefaultRecipient{NewAddress};
}
}