Main Koha release repository https://koha-community.org
Find a file
Tomas Cohen Arazi 9c7a7f7c86 Bug 29771: Scalar context for split
This patch tackles a very specific scenario. Calling split(...,
CGI::param) makes it be called in list context. The split docs say:

split /PATTERN/,EXPR,LIMIT

this means the first CGI param will be used as EXPR and the second one
as LIMIT, which is wrong anyway. So the fix is to just force scalar
context.

To test:
1. Not sure, just make sure nothing breaks when using the scripts in the
   browser.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-08 23:03:34 -10:00
acqui Bug 29771: Remove trivial cases 2022-03-08 23:03:34 -10:00
admin Bug 29857: Rename base class as Koha::Exception 2022-03-01 22:47:47 -10:00
api Bug 29772: (follow-up) Document error codes 2022-01-05 13:33:46 -10:00
authorities
basket
bin
C4 Bug 30035: Fix month name in prediction pattern 2022-03-01 22:47:47 -10:00
catalogue Bug 29785: Rename Koha::Object->message with ->object_messages 2022-02-09 22:01:36 -10:00
cataloguing Bug 25616: Uppercase hard coded lower case boolean operators for Elasticsearch 2022-02-24 14:35:36 -10:00
circ Bug 29771: Scalar context for split 2022-03-08 23:03:34 -10:00
clubs Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
course_reserves
debian Bug 30084: Remove explicit dependency of liblocale-codes-perl 2022-02-21 15:15:47 -10:00
docs
errors Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
etc
ill
installer Bug 30128: DBrev 21.12.00.017 2022-03-08 23:03:34 -10:00
Koha Bug 30128: DBIC Schema update 2022-03-08 23:03:33 -10:00
koha-tmpl Bug 28782: (QA follow-up) Fix missing filter 2022-03-03 16:11:50 -10:00
labels Bug 25616: (QA follow-up) Catch a case in labels/label-item-search.pl 2022-02-24 14:35:36 -10:00
lib/CGI/Session/Serialize
members Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
misc Bug 30132: Fix POD, show correct usage of Getopt::Long 2022-03-01 22:47:46 -10:00
offline_circ
opac Bug 30147: Fix modules usage in opac-detail.pl 2022-03-03 16:11:50 -10:00
patron_lists
patroncards Bug 28576: Update the maximum size of an image. 2022-02-14 21:41:38 -10:00
plugins
pos
reports Bug 29767: SQL Koha reports and variable of database table << name|table_name>> 2022-02-09 22:01:37 -10:00
reserve Bug 29771: Scalar context for split 2022-03-08 23:03:34 -10:00
reviews
rotating_collections
serials Bug 25616: Uppercase hard coded lower case boolean operators for Elasticsearch 2022-02-24 14:35:36 -10:00
services
skel
suggestion Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
svc Bug 29771: Remove trivial cases 2022-03-08 23:03:34 -10:00
t Bug 30035: Fix failing test 2022-03-04 09:33:00 -10:00
tags
tmp/modified_authorities
tools Bug 29771: Scalar context for split 2022-03-08 23:03:34 -10:00
virtualshelves
xt
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap
.perlcriticrc
.proverc.dist
.scss-lint.yml
about.pl
app.psgi
changelanguage.pl
cpanfile Bug 30084: Remove dependency of liblocale-codes-perl (follow-up) 2022-03-01 22:47:46 -10:00
fix-perl-path.PL Bug 28606: Remove $DEBUG and $ENV{DEBUG} 2021-06-24 11:53:44 +02:00
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 30128: DBrev 21.12.00.017 2022-03-08 23:03:34 -10:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo