From 3cca6f444084621e9b84489a2615368d2af189fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Sat, 6 Nov 2021 14:16:38 +0000 Subject: [PATCH] Bug 29204: (QA follow-up) Fix variable name MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The patch "Bug 29204: Fix reports/issues_stats.pl for MySQL 8" accidentally changed the variable name from $strsth2 to $strsth Signed-off-by: Joonas Kylmälä Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- reports/issues_stats.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl index a9f6716e4c..f5209b2ff8 100755 --- a/reports/issues_stats.pl +++ b/reports/issues_stats.pl @@ -401,8 +401,8 @@ sub calculate { ( $colsource eq 'items' ) ? "LEFT JOIN items ON (statistics.itemnumber = items.itemnumber) " : "LEFT JOIN borrowers ON (statistics.borrowernumber = borrowers.borrowernumber) "; - $strsth .= " WHERE $column IS NOT NULL"; - $strsth .= " AND $column != '' " if $column ne "datetime"; + $strsth2 .= " WHERE $column IS NOT NULL"; + $strsth2 .= " AND $column != '' " if $column ne "datetime"; } if ( $column =~ /datetime/ ) { -- 2.39.5