[Koha-bugs] [Bug 11999] Add two checks in CanBookBeReserved and CanItemBeReserved
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Mar 29 13:12:57 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11999
--- Comment #4 from Julian Maurice <julian.maurice at biblibre.com> ---
> The change in interface that passes back reasons is lost, when you don't
> include a variable for it. Also, it makes this look like a pointless
> variable. I suppose it's just hard to read and not really incorrect.
I don't understand. CanBookBeReserved now returns a list so the return value is
affected to a list. Why does the variable look pointless ? I just don't need
the $reasons here, so I don't retrieve it.
> Why is there a C4::Reserves::CanBookBeReserved call here, but a
> CanBookBeReserved in the earlier code?
I don't know, but it was like that before the patch, so I didn't change this.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list