From dca0f2b9cc42433ef0f9bf5b0d7d8b0a8f6fce43 Mon Sep 17 00:00:00 2001 From: b Date: Mon, 9 Oct 2023 22:13:44 +0000 Subject: [PATCH] bugfix new merge --- botm_common.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/botm_common.pm b/botm_common.pm index 1de622e..528b2ff 100644 --- a/botm_common.pm +++ b/botm_common.pm @@ -25,7 +25,7 @@ use Encode ('encode', 'decode'); use Exporter; -our $VERSION = '1.0.24'; +our $VERSION = '1.0.23'; our @ISA = qw(Exporter); our @EXPORT = (); our @EXPORT_OK = ( @@ -811,7 +811,7 @@ sub merge_url_query { my %final_data; foreach my $query (@querys) { my %data; - if (ref($query) { + if (ref($query)) { %data = %$query; } else { @@ -821,7 +821,7 @@ sub merge_url_query { $final_data{$ind} = $data{$ind}; } } - return url_query_encode(\%data, $encoding); + return url_query_encode(\%final_data, $encoding); } # merge_url() will create a new URL based on -- 2.30.2