From cf434799b4ee0c0e1397f4854c2612054d242823 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Thu, 9 May 2019 11:52:33 +0200 Subject: [PATCH] TT#58800 ama exporter: fix domestic/intl "not" patterns Change-Id: Id7fdfeaa89c97b9f44f6c36ebb5e96f16b91c519 --- .../Export/Ama/Format/Fields/DomesticInternational.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/NGCP/BulkProcessor/Projects/Export/Ama/Format/Fields/DomesticInternational.pm b/lib/NGCP/BulkProcessor/Projects/Export/Ama/Format/Fields/DomesticInternational.pm index 6528115c..e18a6120 100644 --- a/lib/NGCP/BulkProcessor/Projects/Export/Ama/Format/Fields/DomesticInternational.pm +++ b/lib/NGCP/BulkProcessor/Projects/Export/Ama/Format/Fields/DomesticInternational.pm @@ -78,15 +78,15 @@ sub get_number_domestic_international { } } elsif (defined $international_destination_not_pattern) { if ($number !~ $international_destination_not_pattern) { - return $DOMESTIC; - } else { return $INTERNATIONAL; + } else { + return $DOMESTIC; } } elsif (defined $domestic_destination_not_pattern) { if ($number !~ $domestic_destination_not_pattern) { - return $INTERNATIONAL; - } else { return $DOMESTIC; + } else { + return $INTERNATIONAL; } } }