Bug 29452: remove unnecessary warns in the logs
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 8c8c7d77cf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
263a949632
commit
af3dd5945f
|
|
@ -99,7 +99,7 @@ sub maybe_add {
|
|||
return q{} if first { $_ eq $fid } @fields;
|
||||
}
|
||||
|
||||
if ( $fid eq FID_SCREEN_MSG && $server->{account}->{screen_msg_regex} ) {
|
||||
if ( $fid eq FID_SCREEN_MSG && $server->{account}->{screen_msg_regex} && defined($value)) {
|
||||
foreach my $regex (
|
||||
ref $server->{account}->{screen_msg_regex} eq "ARRAY"
|
||||
? @{ $server->{account}->{screen_msg_regex} }
|
||||
|
|
|
|||
Loading…
Reference in New Issue