summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/webapp/404.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'BKUOnline/src/main/webapp/404.jsp')
-rw-r--r--BKUOnline/src/main/webapp/404.jsp3
1 files changed, 2 insertions, 1 deletions
diff --git a/BKUOnline/src/main/webapp/404.jsp b/BKUOnline/src/main/webapp/404.jsp
index c4a351ce..3178f597 100644
--- a/BKUOnline/src/main/webapp/404.jsp
+++ b/BKUOnline/src/main/webapp/404.jsp
@@ -1,6 +1,7 @@
<%
String redirectURL = pageContext.getServletContext().getContextPath();
- if (pageContext.getErrorData().getRequestURI().contains("/help/"))
+ if (pageContext.getErrorData().getRequestURI() != null &&
+ pageContext.getErrorData().getRequestURI().contains("/help/"))
redirectURL += "/help/de/404h.html";
else
redirectURL += "/help/de/404.html";