https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43377 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #204071|0 |1 is obsolete| | --- Comment #4 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Comment on attachment 204071 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204071 Bug 43377: Remove extra bracket from C4/SIP/SIPServer.pm
From 6e72946009fe13193f4d6448b170040f0389d99a Mon Sep 17 00:00:00 2001 From: Aleisha Amohia <aleishaamohia@hotmail.com> Date: Tue, 25 Aug 2026 05:35:47 +0000 Subject: [PATCH] Bug 43377: Remove extra bracket from C4/SIP/SIPServer.pm
This was added by mistake when backporting Bug 42847 to 25.05.x.
To test: Look at the patch and confirm the bracket removed is the right fix for this code.
Sponsored-by: Catalyst IT --- C4/SIP/SIPServer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/C4/SIP/SIPServer.pm b/C4/SIP/SIPServer.pm index c4fbdecef6a..5c7829ce7cf 100644 --- a/C4/SIP/SIPServer.pm +++ b/C4/SIP/SIPServer.pm @@ -399,8 +399,8 @@ sub telnet_transport { $pwd = get_clean_string($pwd); siplog( "LOG_DEBUG", "telnet_transport 2: uid length %s, pwd length %s", length($uid), length($pwd) );
- if ( exists( $config->{accounts}->{$uid} ) - && ( $pwd eq $config->{accounts}->{$uid}->{password} ) ) + if ( exists( $config->{accounts}->{$uid} ) + && ( $pwd eq $config->{accounts}->{$uid}->{password} ) && C4::SIP::Sip::MsgType::login_core( $self, $uid, $pwd ) ) { $account = $config->{accounts}->{$uid}; -- 2.55.0
-- You are receiving this mail because: You are watching all bug changes.