Skip to content

Commit

Permalink
[FIX] Fatal error when trying to edit a time field of a record
Browse files Browse the repository at this point in the history
closes #398
  • Loading branch information
arvanus committed Oct 27, 2024
1 parent 6ef5e55 commit f8ac885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ibpp/time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f8ac885

Please sign in to comment.