https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20819 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #66 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- + my $consent = Koha::Patron::Consents->search({ + borrowernumber => getborrowernumber($user), + type => 'GDPR_PROCESSING', + given_on => { '!=', undef }, + })->next; + if( !$consent ) { ->count could have been better. -- You are receiving this mail because: You are watching all bug changes.