4 Nov
2021
4 Nov
'21
12:44 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29168 --- Comment #15 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #14)
This is getting complicated. I think it should be simplified.
Isn't the following correct/enough?
if ( $patron && $patron->can_request_article ) { $artreqpossible = $biblio->can_article_request( $patron ); } elsif ( $itemtype ) { $artreqpossible = $itemtype->may_article_request }
It looks similar to me, a bit shorter. Do you want me to resubmit the patch in this form? -- You are receiving this mail because: You are watching all bug changes.