summaryrefslogtreecommitdiffstats
path: root/Kernel/Output/HTML/DefaultRecipient.pm
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-01-25 03:39:39 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-01-25 03:41:56 +0100
commitf9f961a91ced51c1f816761c70c08fdf499331fd (patch)
treef1f21014885049adde5aded73a5e328add719ecf /Kernel/Output/HTML/DefaultRecipient.pm
parent60a58e692cd72de129b55b5900a7f21828653518 (diff)
downloadDefaultRecipient-f9f961a91ced51c1f816761c70c08fdf499331fd.tar.gz
DefaultRecipient-f9f961a91ced51c1f816761c70c08fdf499331fd.tar.bz2
DefaultRecipient-f9f961a91ced51c1f816761c70c08fdf499331fd.zip
Rename RemoveDefault to RemoveTo.
Diffstat (limited to 'Kernel/Output/HTML/DefaultRecipient.pm')
-rw-r--r--Kernel/Output/HTML/DefaultRecipient.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Output/HTML/DefaultRecipient.pm b/Kernel/Output/HTML/DefaultRecipient.pm
index 5d94c4a..9ad424f 100644
--- a/Kernel/Output/HTML/DefaultRecipient.pm
+++ b/Kernel/Output/HTML/DefaultRecipient.pm
@@ -63,20 +63,20 @@ sub Run {
TemplateID => $Ticket->{TemplateID},
);
- my $RemoveDefault = 0;
+ my $RemoveTo = 0;
my @Addresses = ();
foreach my $ID ( values %MappedDefaultRecipient ) {
my %DefaultRecipient = $Self->{DefaultRecipientObject}->Get(
ID => $ID,
);
- $RemoveDefault = 1 if $DefaultRecipient{RemoveDefault};
+ $RemoveTo = 1 if $DefaultRecipient{RemoveTo};
if ( $DefaultRecipient{AddNew} ) {
push @Addresses, $DefaultRecipient{NewAddress};
}
}
- if ( $RemoveDefault ) {
+ if ( $RemoveTo ) {
# remove preselected "To" address
for my $block ( @$BlockData ) {
if ( $block->{Name} eq 'PreFilledToRow' ) {