src/java/de/uapcore/lightpit/AbstractLightPITServlet.java

changeset 27
1f2a96efa69f
parent 24
8137ec335416
--- a/src/java/de/uapcore/lightpit/AbstractLightPITServlet.java	Sun Apr 08 15:34:11 2018 +0200
+++ b/src/java/de/uapcore/lightpit/AbstractLightPITServlet.java	Sun Apr 08 16:41:02 2018 +0200
@@ -222,7 +222,7 @@
     private void forwardToFullView(HttpServletRequest req, HttpServletResponse resp)
             throws IOException, ServletException {
         
-        req.setAttribute(Constants.REQ_ATTR_MENU, getModuleManager().getMainMenu());
+        req.setAttribute(Constants.REQ_ATTR_MENU, getModuleManager().getMainMenu(getDatabaseFacade()));
         req.getRequestDispatcher(HTML_FULL_DISPATCHER).forward(req, resp);
     }
     
@@ -249,7 +249,7 @@
     
     private void doProcess(HttpMethod method, HttpServletRequest req, HttpServletResponse resp)
             throws ServletException, IOException {
-        
+
         // Synchronize module information with database
         getModuleManager().syncWithDatabase(getDatabaseFacade());
         

mercurial