Main Koha release repository https://koha-community.org
Find a file
Colin Campbell ce046f9a73 Stop unnecessary warnings in get_language
Refactor code to be more idiomatic and clarify its intention was testing
undef against languages causing log warn was creating and assigning to
unnecessary variables calling accept_language with an undef is an
expensive way to get undef returned to the caller test we are asking it
a meabingful question use any rather than first ( we dont care about
firstness it should be unique anyway but it obscures the meaning of the
test ) split takes a pattern not a string

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>

Having put my hands recently in this part of Koha code, I can confirm
that this patch fix log warnings, and add clarity and conciseness.

http://bugs.koha-community.org/show_bug.cgi?id=7874
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-04-04 18:33:11 +02:00
acqui Bug 7291: Adds new field aqbooksellers.deliverytime 2012-04-03 18:19:46 +02:00
admin Bug 7799 - admin/marctagstructure.pl plack scoping 2012-03-26 18:15:56 +02:00
authorities Bug 7400: Add auto-completion on auth_finder 2012-03-19 18:20:30 +01:00
basket
C4 Stop unnecessary warnings in get_language 2012-04-04 18:33:11 +02:00
catalogue Bug 4032 XSLT systempreference takes a path to file rather than YesNo 2012-03-29 16:58:55 +02:00
cataloguing Bug 7866: z39.50 search list ordered by rank 2012-04-03 18:10:57 +02:00
circ Bug 7482: overdues report downloads without names 2012-04-04 17:39:36 +02:00
debian Bug 7885 - Change filename of TransferLog suggested by packages to fit with logrotate 2012-04-04 15:15:43 +02:00
docs welcome gaetan, you're 179th ! 2012-03-20 15:58:50 +01:00
errors
etc Bug 7885 - Change filename of TransferLog suggested by packages to fit with logrotate 2012-04-04 15:15:43 +02:00
install_misc Bug 7858 - Missing packages from install_misc/ubuntu.packages 2012-04-04 14:49:48 +02:00
installer Bug 7850 - Fix values for hidden in subfields of 952 + maxlength in NORMARC frameworks 2012-04-04 14:54:50 +02:00
Koha Bug 7562 Add strict & warnings to KohaDates Plugin 2012-04-03 18:11:46 +02:00
koha-tmpl Bug 2780 - Capitalize strings consistently (Acquisitions pages) 2012-04-04 17:54:48 +02:00
labels Bug 7765 - labels/label-edit-layout.pl: plack $layout scoping 2012-03-22 18:01:15 +01:00
members Bug 7859 - members/pay.pl plack scoping 2012-04-03 18:13:12 +02:00
misc bug 7641 follow-up: activate use strict (see coding guidelines) 2012-03-29 15:10:16 +02:00
offline_circ Bug 4976 - Status of item returned with process_koc.pl is empty in Intranet 2012-03-19 16:23:10 +01:00
opac Bug 7863 - opac-addbybiblionumber.pl plack scoping 2012-04-03 18:12:37 +02:00
patroncards Bug 7318: Fixes category display in patroncards Patron Search results. 2012-02-27 18:01:00 +01:00
reports Bug 7829 - reports/ remove all exit(1) for plack 2012-03-28 16:25:24 +02:00
reserve Bug 7641: Suspend Reserves 2012-03-29 14:37:49 +02:00
reviews
rotating_collections
selenium
serials Bug 5354 follow-up : dealing with a wrong regexp 2012-03-28 16:17:45 +02:00
services Bug 7178: Acquisition item creation improvement 2012-03-26 11:07:23 +02:00
skel
sms
suggestion Bug 7300 : Show working branch suggestions by default 2012-03-22 05:57:59 +01:00
svc Bug 7729 : svc/bib: support appending ?items=1 to the URL to fetch or modify items 2012-03-29 16:52:04 +02:00
t Merge remote-tracking branch 'origin/new/bug_7284' 2012-04-04 18:18:26 +02:00
tags
test
tmp/modified_authorities
tools Bug 7775 - tools/upload-file.pl: scoping for plack 2012-03-26 18:17:45 +02:00
virtualshelves Bug 7860 - /virtualshelves/addbybiblionumber.pl plack scoping 2012-04-04 11:18:52 +02:00
xt Merge remote-tracking branch 'origin/new/bug_5327' 2012-02-15 13:55:48 +01:00
.htaccess
.mailmap
about.pl
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7 Bug 7532 - remove dependency on Date::ICal 2012-02-17 11:49:05 +01:00
INSTALL.opensuse
INSTALL.ubuntu Bug 7858 - Missing packages from install_misc/ubuntu.packages 2012-04-04 14:49:48 +02:00
INSTALL.ubuntu.lucid
koha_perl_deps.pl
kohaversion.pl bug 7291 follow-up DBRev number 2012-04-03 18:32:25 +02:00
LICENSE
mainpage.pl Bug 6875 cleaning mainpage.pl 2012-02-15 14:58:31 +01:00
Makefile.PL Bug 7698: Add CHR/ICU Zebra tokenization choice to installation 2012-03-13 16:08:04 +01:00
MANIFEST.SKIP
README
README.robots
rewrite-config.PL Bug 7698: Add CHR/ICU Zebra tokenization choice to installation 2012-03-13 16:08:04 +01:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 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/