Bug 29204: (QA follow-up) Fix variable name
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ä <joonas.kylmala@iki.fi> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
9a4b7b1948
commit
5d2f51f9ad
|
|
@ -409,8 +409,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/ ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue