]> git.koha-community.org Git - koha.git/commit
Bug 32129: (QA follow-up) Avoid duplicate calculation
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 12 May 2023 18:47:02 +0000 (15:47 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 12 May 2023 20:50:03 +0000 (17:50 -0300)
commit62f176d0799a3cf6422eb404646cbb17678f4c2a
tree7076c8498632ada1f4d63bfd8648c2e09e36ba4a
parent6cf8c901f55efa586a3c8b01cbbe4780c0fb028b
Bug 32129: (QA follow-up) Avoid duplicate calculation

This patch stores the output from ->check_recall() (a Koha::Recall
object or undef) and reuses afterwards, on a ternaty operator.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Item.pm