[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
Fri Aug 9 01:27:28 CEST 2013


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19937|0                           |1
        is obsolete|                            |

--- Comment #3 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 20203
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20203&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

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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


More information about the Koha-bugs mailing list