Bug 28013: (follow-up) Correct and update call to CanItemBeReserved
authorNick Clemens <nick@bywatersolutions.com>
Fri, 2 Apr 2021 14:32:33 +0000 (14:32 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Apr 2021 09:01:35 +0000 (11:01 +0200)
commite26eb6df85c416394633b89d2837697e71d744af
treebd7187e7ec128efe443c810a035d6aaf4194716b
parentd581ecf3a7a4be80b9477b7d840365d3aa454d96
Bug 28013: (follow-up) Correct and update call to CanItemBeReserved

The current call checks for truth against a returned hash, we need
to check the 'status' value

Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ded05deb102de13de95c5e0f76bfaf79075423cf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Circulation.pm