]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/peopletaggroupnav.php
Avoid having to check for notices without rendered copies in upgrade.php
[quix0rs-gnu-social.git] / lib / peopletaggroupnav.php
index bbfe4eca7e082711a74c52b821341a432a1ea535..fb579affe09c77f73774aca20243fbd040713279 100644 (file)
@@ -61,7 +61,7 @@ class PeopletagGroupNav extends Widget
      *
      * @param Action $action current action, used for output
      */
-    function __construct($action=null)
+    function __construct(Action $action=null)
     {
         parent::__construct($action);
         $this->action = $action;
@@ -76,7 +76,7 @@ class PeopletagGroupNav extends Widget
     {
         $user = null;
 
-       // FIXME: we should probably pass this in
+       // FIXME: we should probably pass this in and check when PeopletagGroupNav is actually loaded etc.
 
         $action = $this->action->trimmed('action');
 
@@ -107,7 +107,7 @@ class PeopletagGroupNav extends Widget
 
         if (Event::handle('StartPeopletagGroupNav', array($this))) {
             // People tag timeline
-            $this->out->menuItem(common_local_url('showprofiletag', array('tagger' => $user_profile->nickname,
+            $this->out->menuItem(common_local_url('showprofiletag', array('nickname' => $user_profile->nickname,
                                                                           'tag'    => $tag->tag)),
                              // TRANS: Menu item in list navigation panel.
                              _m('MENU','List'),