From f8ac8854cd47f8baa6168990b045a1a06afd6d63 Mon Sep 17 00:00:00 2001 From: Lucas Rubian Schatz Date: Sun, 27 Oct 2024 17:42:23 -0300 Subject: [PATCH] [FIX] Fatal error when trying to edit a time field of a record closes #398 --- src/ibpp/time.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ibpp/time.cpp b/src/ibpp/time.cpp index 80654d87..6e253a06 100644 --- a/src/ibpp/time.cpp +++ b/src/ibpp/time.cpp @@ -60,7 +60,7 @@ void IBPP::Time::SetTime(TimezoneMode tzMode, int hour, int minute, int second, // Check, if fbclient fails to load icu. In this case // TimeZoneName "GMT*" ist returned. - if ((tzMode = tmTimezone) && (fbTimezoneName == TZ_GMT_FALLBACK)) + if ((tzMode == tmTimezone) && (fbTimezoneName == TZ_GMT_FALLBACK)) tzMode = tmTimezoneGmtFallback; int tm;