Bug 29012: Fix undef warnings around unseen_renewals_allowed in smart-rules.pl
authorSlava Shishkin <slavashishkin@gmail.com>
Tue, 11 Oct 2022 15:18:23 +0000 (18:18 +0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 20 Oct 2022 12:53:54 +0000 (09:53 -0300)
commit98f50491bd35e9dbda522cf2b7028e15f7a64d13
treebdddc6413c4b2dc1195ad1896f8893a09b25b7fe
parent254f72132046aaa89c866784bb572ae42732054f
Bug 29012: Fix undef warnings around unseen_renewals_allowed in smart-rules.pl

Trivial fix.

To reproduce:
1. Create or edit a rule on /cgi-bin/koha/admin/smart-rules.pl - i.e. submit the form (make POST request)
2. Notice the mentioned above warning in plack-intranet-error.log
3. Apply the patch.
4. Repeat step 1.
5. That warning in log file should be no more.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/smart-rules.pl