Koha-clms/reserve
Tomas Cohen Arazi e5dc760b92 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>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2022-03-11 06:35:50 -05:00
..
modrequest.pl Bug 29969: Prevent crash if 'Update holds' clicked after bulk cancellation 2022-02-25 08:29:53 -05:00
modrequest_suspendall.pl Bug 29540: Raise flagsrequired in modrequest 2022-01-14 14:29:11 -05:00
placerequest.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
request.pl Bug 29771: Scalar context for split 2022-03-11 06:35:50 -05:00