From 77b56b25aab3e6929049e6634271cd6ea553ab4b Mon Sep 17 00:00:00 2001 From: Raquel DiPietro Date: Sun, 1 May 2022 13:23:14 -0400 Subject: [PATCH] fix: tests if variable defined before use --- lib/ProductOpener/Display.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ProductOpener/Display.pm b/lib/ProductOpener/Display.pm index ed59b036a3328..2096527b5ff3d 100644 --- a/lib/ProductOpener/Display.pm +++ b/lib/ProductOpener/Display.pm @@ -5408,7 +5408,7 @@ sub display_pagination($$$$) { } my $current_link_query = $request_ref->{current_link_query}; - $log->info("current link: $current_link, current_link_query: $current_link_query") if $log->is_info(); + $log->info("current link and current link query", { current_link => $current_link, current_link_query => $current_link_query }) if $log->is_info(); if (param("jqm")) { $current_link_query .= "&jqm=1";