]> git.koha-community.org Git - koha.git/commit
Bug 25440: Fix for "uninitialized value in string eq" in smart-rules.pl
authorAndrew Nugged <nugged@gmail.com>
Tue, 19 May 2020 08:03:13 +0000 (11:03 +0300)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 Jul 2020 17:05:22 +0000 (17:05 +0000)
commit84711d3d23874dfc8cc41297b4b0d1a0c550846b
tree1a7b7abd5928f1083629f5300cd588027c8b4d8b
parentcf93d673a0bcc17e26299f006da1faf00b24fe52
Bug 25440: Fix for "uninitialized value in string eq" in smart-rules.pl

This warning emitted:

Use of uninitialized value in string eq at /admin/smart-rules.pl line 289.

It is solved by one line added to exclude comparison with 'on' string
when variable is 'undef'.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5eebfcf68747b4886b23a9d4c8df37ea7d103edb)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
admin/smart-rules.pl