fixed some saves

This commit is contained in:
Fredrik Friis 2012-03-01 13:28:19 +09:00
parent 30d115399f
commit 1d866945f3

@ -115,7 +115,7 @@ public class NotificationsPanel extends Panel {
for (WebNotification webnotification : webNotificationDao
.getWebNotifications(SciProSession.get().getUser())) {
webnotification.setReadByUser(true);
notification = webNotificationDao.save(webnotification);
webnotification = webNotificationDao.save(webnotification);
}
countOfNotifications = numberOfNotificationsModel.getObject();
target.addComponent(webMarkupContainer);