Skip to content

Commit

Permalink
Merge pull request #399 from arvanus/master
Browse files Browse the repository at this point in the history
[FIX]  Fatal error when trying to edit a time field of a record
  • Loading branch information
arvanus authored Oct 27, 2024
2 parents af0328d + f8ac885 commit 031ad5f
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 031ad5f

Please sign in to comment.