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 6d59fd5..0cb8e91 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;