[Koha-bugs] [Bug 10630] DelBookseller's return value needs to be more explicit in C4::Bookseller.pm
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 25 09:43:49 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10630
kenza <kenza.zaki at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #19927|0 |1
is obsolete| |
--- Comment #2 from kenza <kenza.zaki at biblibre.com> ---
Created attachment 19937
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19937&action=edit
Bug 10630: DelBookseller's always returns undef in C4::Bookseller.pm
This patch makes DelBookseller returns the number of supplier it has deleted
or undef if nothing has been deleted.
It also fixes a test which doesn't pass before in t/db_dependent/Bookseller.t
To test:
prove t/db_dependent/Bookseller.t
t/db_dependent/Bookseller.t .. 1/54
All tests successful.
Files=1, Tests=54, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.48 cusr 0.02
csys = 0.52 CPU)
Result: PASS
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list