prevent warning when user is not logged in
authorChristian Weiske <cweiske@cweiske.de>
Mon, 6 Oct 2014 05:58:55 +0000 (07:58 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 6 Oct 2014 05:58:55 +0000 (07:58 +0200)
controller/guicontroller.php

index 6d59fd572ba4ccd725e786b1bced3d4cfe9d2de1..0cb8e913ffeb95988bdfe58c6e89b11313309dcf 100644 (file)
@@ -122,6 +122,7 @@ class GuiController extends Controller
     {
         $nav = new \OCP\Template('grauphel', 'appnavigation', '');
         $nav->assign('apiroot', $this->getApiRootUrl());
     {
         $nav = new \OCP\Template('grauphel', 'appnavigation', '');
         $nav->assign('apiroot', $this->getApiRootUrl());
+        $nav->assign('tags', array());
 
         $params = $res->getParams();
         $params['appNavigation'] = $nav;
 
         $params = $res->getParams();
         $params['appNavigation'] = $nav;