From a4949674a7aea0bc673a96f1609d2a5f368c43a6 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 29 Jan 2020 19:52:12 +0100 Subject: [PATCH] TT#71950 Fix typo in function argument name Change-Id: I2766c116ad0d9e54cd48c27bcc310872525206c1 --- lib/NGCP/BulkProcessor/DSSorter.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/NGCP/BulkProcessor/DSSorter.pm b/lib/NGCP/BulkProcessor/DSSorter.pm index a73f7d4..0bcb425 100644 --- a/lib/NGCP/BulkProcessor/DSSorter.pm +++ b/lib/NGCP/BulkProcessor/DSSorter.pm @@ -112,12 +112,12 @@ sub sort_array { sub sort_by_config_ids { - my ($array_ptr,$sortings,$sortingconfigurations) = @_; + my ($array_ptr, $sorting_ids_ref, $sortingconfigurations) = @_; if (defined $array_ptr and ref $array_ptr eq 'ARRAY') { - if (defined $sortings and ref $sortings eq 'ARRAY') { + if (defined $sorting_ids_ref and ref $sorting_ids_ref eq 'ARRAY') { if (defined $sortingconfigurations and ref $sortingconfigurations eq 'HASH') { - my @sorting_ids = @$sortings; + my @sorting_ids = @{$sorting_ids_ref}; if ((scalar @sorting_ids) > 0) { my $sorter = NGCP::BulkProcessor::DSSorter->new(); foreach my $sorting_id (@sorting_ids) {