From ff263b99fe5234752e875cd25101948c3fd177a5 Mon Sep 17 00:00:00 2001 From: Hivert Quentin Date: Mon, 25 Sep 2023 15:11:45 +0200 Subject: [PATCH] fix(contacts): Fix 5875 --- SoObjects/SOGo/WORequest+SOGo.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SoObjects/SOGo/WORequest+SOGo.m b/SoObjects/SOGo/WORequest+SOGo.m index 164c87c16..267606c10 100644 --- a/SoObjects/SOGo/WORequest+SOGo.m +++ b/SoObjects/SOGo/WORequest+SOGo.m @@ -262,7 +262,9 @@ - (BOOL) isThunderbird { - return ([[self headerForKey:@"user-agent"] rangeOfString: @"Thunderbird"].location != NSNotFound); + BOOL ret; + ret = ([[self headerForKey:@"user-agent"] rangeOfString: @"Thunderbird"].location != NSNotFound); + return ret; } @end