9 Aug
2021
9 Aug
'21
3:18 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26346 --- Comment #59 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- sub can_be_deleted { my ( $self, $borrowernumber ) = @_; return 0 unless $borrowernumber; return 1 if $self->owner == $borrowernumber; my $patron = Koha::Patrons->find( $borrowernumber ); return 1 if $self->is_public and haspermission( $patron->userid, { lists => 'delete_public_lists' } ); return 0; } This is still different from surrounding code as to testing Patrons::find. -- You are receiving this mail because: You are watching all bug changes.