Koha-clms/circ
Tomas Cohen Arazi bac05d3f37 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>
(cherry picked from commit e5dc760b92)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
2022-04-25 19:50:15 +00:00
..
add_message.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
article-request-slip.pl Bug 29771: Scalar context for split 2022-04-25 19:50:15 +00:00
article-requests.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
bookcount.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
branchoverdues.pl Bug 27548: "use of uninitialized value" warning on branchoverdues.pl 2021-02-01 17:20:37 +01:00
branchtransfers.pl Bug 28382: Set trigger to 'Reserve' when actioning a reserve transfer 2021-06-18 07:14:03 -04:00
checkout-notes.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
circulation-home.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
circulation.pl Bug 29220: Minor fixes and improved code readability 2022-03-20 15:42:40 +00:00
del_message.pl Bug 29903: Prevent messages to be deleted from unauthorised users 2022-01-28 14:24:10 +00:00
hold-transfer-slip.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
offline-mf.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
offline.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
on-site_checkouts.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
overdue.pl Bug 26269: "Date due to" and "Show any items currently checked out" filters doesn't work properly in overdues.pl 2022-03-20 15:46:04 +00:00
pendingreserves.pl Bug 29786: Select only specific items for item level holds 2022-02-10 20:40:46 +00:00
renew.pl Bug 27549: "use of uninitialized value" warning on renew.pl 2021-02-01 17:20:37 +01:00
request-article.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
reserveratios.pl Bug 25760: (bug 15422 follow-up) Display record with hold ratio greater than or equal to the value entered 2021-05-10 15:46:55 +02:00
returns.pl Bug 24434: Unit tests for updateWrongTransfer 2021-06-18 10:37:17 -04:00
set-library.pl Bug 24786: (follow-up) Cache the register_name in the session 2020-11-06 15:40:00 +01:00
transfer-slip.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
transfers_to_send.pl Bug 22569: Add a 'Transfers to send' report 2021-03-11 11:51:40 +01:00
transferstoreceive.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
view_holdsqueue.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
waitingreserves.pl Bug 7806: Fix remaining occurrences of 0000-00-00 2021-03-01 11:16:42 +01:00
ysearch.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00