]> git.koha-community.org Git - koha.git/commit
Bug 20581: (follow-up) Passed value to status_alias
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Thu, 7 Feb 2019 10:43:51 +0000 (10:43 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Feb 2019 14:31:31 +0000 (14:31 +0000)
commit7c14483010b22099b07512399889b8dab182e423
treed005f7f463c8aec7f9f7d4a9db46463ba76539fc
parent9f9b809b606a486f94eb1feaa05ce87e71eb5476
Bug 20581: (follow-up) Passed value to status_alias

Now we have overloaded status_alias, we can no longer pass it undef (as
it uses that to determine if it's being used as a getter or setter). So
we now pass it -1 to indicate it should actually be setting undef (a
hack, I know, but what are you going to do...)

This patch makes sure ill-request.pl conforms to that. It also fixes the
testing of the passed parameter, which was wrong.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
ill/ill-requests.pl