Main Koha release repository https://koha-community.org
Find a file
Kenza Zaki be4fb1db9c Bug 10640: give ModBookseller() an explicit return value.
Before, ModBookseller always returns undef. This patch modifies it in
order to be more explicit.

Now it returns :

1 -> If a modification has been done
0E0 -> If the given ID doesn't exist
undef -> If no ID given

It also fixes one of the tests which didn't pass before
in t/db_dependent/Bookseller.t

To Test:
prove t/db_dependent/Bookseller.t
Bookseller.t .. 1/54
[Some warnings about uninitialized values]
t/db_dependent/Bookseller.t .. ok
All tests successful.
Files=1, Tests=54,  1 wallclock secs ( 0.03 usr  0.00 sys +  0.46 cusr  0.04 csys =  0.53 CPU)
Result: PASS

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Change is logical and passes new and old tests.
Fixed the author line to have Kenza's correct email address.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-09-08 20:35:45 +00:00
acqui Bug 10737: Add "Add to basket" link on vendor search results page 2013-09-05 15:28:31 +00:00
admin Bug 10325 - Allow system preferences to be overridable from koha-httpd.conf 2013-09-08 02:09:53 +00:00
authorities Bug 5262: make authority plugin copy indicators to bib record 2013-08-14 17:17:22 +00:00
basket
C4 Bug 10640: give ModBookseller() an explicit return value. 2013-09-08 20:35:45 +00:00
catalogue Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00
cataloguing Bug 10331 - Little errors in unimarc_field_4XX.pl (punctuation) 2013-09-08 19:22:43 +00:00
circ Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00
course_reserves bug 8215: (followup) avoid spurious warning in Apache log 2013-05-21 16:01:08 -07:00
debian Bug 10574 - mute the "upgrading from 3.2" message 2013-09-06 14:54:53 +00:00
docs Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00
errors
etc Bug 9252 - Add option to send patron's home branch in AF field 2013-09-08 06:07:38 +00:00
install_misc Bug 8840 - [SIGNED-OFF] Patch to solve false "All dependencies installed!" 2013-05-12 21:15:19 -04:00
installer Bug 10320: DBrev 3.13.00.017 2013-09-08 07:04:49 +00:00
Koha Bug 9755: (follow-up) tweak test for tag visibility in merge hash 2013-07-23 23:11:04 +00:00
koha-tmpl Bug 10718: fix items with no checkouts report 2013-09-08 20:04:43 +00:00
labels Bug 10527: remove disused routine C4::Branch::get_branch_code_from_name 2013-07-12 20:20:20 +00:00
members Bug 10027: (follow-up) tidy members/printinvoice.pl 2013-09-08 06:24:33 +00:00
misc Bug 10771: remove disused statistical reports cronjobs 2013-09-06 18:26:35 +00:00
offline_circ
opac Bug 10320: (follow-up) handle OverDrive authentication failure more gracefully 2013-09-08 07:04:50 +00:00
OpenILS
patroncards Bug 9924: (follow-up) ensure that correct error message is displayed 2013-09-08 19:19:50 +00:00
plugins
reports Bug 10718: fix items with no checkouts report 2013-09-08 20:04:43 +00:00
reserve Bug 10663: QA Followup: Typo in comment in renewscript 2013-08-16 01:39:16 +00:00
reviews
rotating_collections
selenium
serials bug 10728: fix additional log noise generated by subscription-renew.pl 2013-08-19 14:10:38 +00:00
services
skel
sms
suggestion Bug 9307: QA Followup 2013-06-19 07:19:39 -07:00
svc
t Bug 10640: give ModBookseller() an explicit return value. 2013-09-08 20:35:45 +00:00
tags Merge remote branch 'origin/new/bug6554_reverts' 2013-05-01 11:22:30 -07:00
test
tmp/modified_authorities
tools Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00
virtualshelves
xt
.htaccess
.mailmap
about.pl Bug 8911: make sure history.txt gets installed where history.txt can see it 2013-07-22 14:11:48 +00:00
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl Bug 10052: QA Followup 2013-05-23 08:55:12 -07:00
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7
INSTALL.opensuse
INSTALL.ubuntu
INSTALL.ubuntu.12.04
INSTALL.ubuntu.lucid
koha_perl_deps.pl bug 10548: fix count of missing required dependencies by koha_perl_deps.pl 2013-07-11 14:03:32 +00:00
kohaversion.pl Bug 10320: DBrev 3.13.00.017 2013-09-08 07:04:49 +00:00
LICENSE
mainpage.pl Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
Makefile.PL Bug 10539: Followup for removing KohaTest unit tests 2013-09-05 15:06:05 +00:00
MANIFEST.SKIP
README
README.robots
rewrite-config.PL Bug 10712: Save missing config variables to install log 2013-08-13 14:14:30 +00:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/