[Koha-bugs] [Bug 10843] print a slip can cause an error
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 1 01:15:07 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10843
Srdjan Jankovic <srdjan at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #21651|0 |1
is obsolete| |
--- Comment #6 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
Created attachment 21686
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21686&action=edit
[SIGNED-OFF] Bug 10843: the DateTime->add method takes a scalar, not undef
Test plan:
1) set an empty string for the ReservesMaxPickUpDelay pref
2) place a hold on an item
3) check in the item
4) click on "Print and confirm"
5) an error occurs
> The 'days' parameter (undef) to DateTime::Duration::new was an 'undef'
6) apply the patch
7) repeat steps 1 to 4
8) the error does not occur anymore.
Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list