summaryrefslogtreecommitdiffstats
path: root/Kernel
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-01-20 00:48:37 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-01-20 00:48:37 +0100
commit828a23a7ebcdd37b36b8d3edef27ab8e324c7651 (patch)
treeaba753b1bbec0959704a7ac49baa7110cd5c7951 /Kernel
parent5c22560e544024489109663a213d4c4dacadbd85 (diff)
downloadDefaultRecipient-828a23a7ebcdd37b36b8d3edef27ab8e324c7651.tar.gz
DefaultRecipient-828a23a7ebcdd37b36b8d3edef27ab8e324c7651.tar.bz2
DefaultRecipient-828a23a7ebcdd37b36b8d3edef27ab8e324c7651.zip
ResponseChangeDefaultTo: Fix wrong Mapping
If you List the mapping, you would expect that the ids of the mappings are the keys of the returned hash and the ids of mapped objects (dependent on the parameters either the response ids or the id of the ResponseChangeDefaultTo objects) are the values. This fixes this assumption.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/System/ResponseChangeDefaultTo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/System/ResponseChangeDefaultTo.pm b/Kernel/System/ResponseChangeDefaultTo.pm
index f35c91f..123bdbf 100644
--- a/Kernel/System/ResponseChangeDefaultTo.pm
+++ b/Kernel/System/ResponseChangeDefaultTo.pm
@@ -330,7 +330,7 @@ sub MappingList {
}
while ( my @Data = $Self->{DBObject}->FetchrowArray() ) {
- $Mapping{ $Data[1] }->{MappingID} = $Data[0];
+ $Mapping{ $Data[0] }->{MappingID} = $Data[1];
}
return %Mapping;