From 3570be56600cb5faece7cbf92683a541738a56fe Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Tue, 15 Sep 2020 09:28:57 -0400 Subject: [PATCH] LP1895660: Course.pm "my" variable $results masks earlier declaration in same scope my $var should only be used once within a block. Signed-off-by: Jason Boyer Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm index 46c4521056..260221f4d0 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm @@ -302,7 +302,7 @@ sub load_cresults { "where" => $where_clause }); - my $results = $e->json_query({ + $results = $e->json_query({ "from" => "acmc", "select" => {"acmc" => [ 'id', -- 2.43.2