From 178312e4030cbf2563b448f1353af3d3faac85fc Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Thu, 18 Jun 2026 15:47:31 +0200 Subject: [PATCH] Bug 39301: (RMaint follow-up) Fix missing var Koha::Statistic::pseudonymization_types --- misc/maintenance/pseudonymize_statistics.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/maintenance/pseudonymize_statistics.pl b/misc/maintenance/pseudonymize_statistics.pl index e0abccf3d0..d1c55eaef1 100755 --- a/misc/maintenance/pseudonymize_statistics.pl +++ b/misc/maintenance/pseudonymize_statistics.pl @@ -48,7 +48,7 @@ print "Searching for statistics before $before\n" if $verbose; my $statistics = Koha::Statistics->search( { datetime => { '<=' => $before }, - type => { '-in' => \@Koha::Statistic::pseudonymization_types }, + type => { '-in' => [ 'renew', 'issue', 'return', 'onsite_checkout' ] }, borrowernumber => { '!=' => undef } } );