[Koha-bugs] [Bug 9788] Improvements for calling GetReservesFromItemnumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 21 17:54:14 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9788

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--- Comment #7 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Thanks for testing Kyle! I would really like to see this patch joining patch
9761.

Since I do not have this error, I checked where you crashed in C4/Letters:
613        my $dt = dt_from_string();
614        $dt->add( days => C4::Context->preference('ReservesMaxPickUpDelay')
);

L613 gets back the date of today. L614 adds a few days.
Since the crash is on L614, it seems that your pref ReservesMaxPickupDelay is
undefined (perhaps deleted in some other course of development..) ?
Could you check that please?
We can add a test with || 0 or something, but it should normally not be needed.

Hope that fixes it..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list