https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14708

--- Comment #32 from Jonathan Druart <[email protected]> 
---
 sub delete {
     my ($self) = @_;

+    my $anonymous_patron = C4::Context->preference("AnonymousPatron");
+    return $self if $anonymous_patron && $self->id eq $anonymous_patron;


Shouldn't we raise an exception instead?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to