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

--- Comment #15 from Tomás Cohen Arazi <[email protected]> ---
(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.
_______________________________________________
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