Fixed potential NPE in UpcomingEventStageTeaserBand classes

This commit is contained in:
Benjamin Barth authored and Steffen Schaefer committed 2015-08-21 08:27:09 +02:00
1 parent 75f81212b7
commit f6cb376e3a
2 files changed
+6 -2

No files matched your search

@@ -27,6 +27,8 @@ public class UpcomingEventStageTeaserBand extends StageTeaserBand {
@Override
public void actionLinkClicked(ClickEvent e) {
getPlaceNavigator().goToPlace(getEventNavigation());
e.preventDefault();
if (e != null) {
e.preventDefault();
}
}
}
@@ -27,6 +27,8 @@ public class UpcomingEventStageTeaserBand extends StageTeaserBand {
@Override
public void actionLinkClicked(ClickEvent e) {
getPlaceNavigator().goToPlace(getEventNavigation());
e.preventDefault();
if (e != null) {
e.preventDefault();
}
}
}