*
* @param Action $action current action, used for output
*/
- function __construct($action=null)
+ function __construct(Action $action=null)
{
parent::__construct($action);
$this->action = $action;
{
$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');
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'),