Bugzilla – Attachment 127514 Details for
Bug 29452
Unnecessary warns in sip logs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove unnecessary warns in the logs
0001-PATCH-Bug-29452-remove-unnecessary-warns-in-the-logs.patch (text/plain), 886 bytes, created by
Christophe Croullebois
on 2021-11-10 15:32:58 UTC
(
hide
)
Description:
remove unnecessary warns in the logs
Filename:
MIME Type:
Creator:
Christophe Croullebois
Created:
2021-11-10 15:32:58 UTC
Size:
886 bytes
patch
obsolete
>From 914f18cde4a737322865106c25ad9b3d12a9d1b0 Mon Sep 17 00:00:00 2001 >From: Christophe Croullebois <christophe.croullebois@biblibre.com> >Date: Wed, 10 Nov 2021 16:23:54 +0100 >Subject: [PATCH 1/1] [PATCH] Bug 29452: remove unnecessary warns in the logs > >--- > C4/SIP/Sip.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/SIP/Sip.pm b/C4/SIP/Sip.pm >index 2842a611b6..bd834f2447 100644 >--- a/C4/SIP/Sip.pm >+++ b/C4/SIP/Sip.pm >@@ -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} } >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29452
:
127514
|
127540
|
127541