97425: Fix issue with sessions null value

This commit is contained in:
Yana De Pauw
2023-01-23 17:22:32 +01:00
parent f03d5ff0a6
commit 51424cbb7c
3 changed files with 4 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ public class SystemWideAlertServiceImpl implements SystemWideAlertService {
final Date countdownTo, final boolean active) throws SQLException {
SystemWideAlert systemWideAlert = new SystemWideAlert();
systemWideAlert.setMessage(message);
systemWideAlert.setAllowSessions(allowSessionsType.getValue());
systemWideAlert.setAllowSessions(allowSessionsType);
systemWideAlert.setCountdownTo(countdownTo);
systemWideAlert.setActive(active);