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; } } }