#137 - Roadmap milestone link bug

Description

There's a bug in line 18 of templates\Traq2\roadmap.php, it's: <h2><a href="<?=$uri->anchor($project['slug'],'milestone-'.$milestone['milestone'])?>"><?=l('milestone')?>: <em><?=$milestone['milestone']?><?=(!empty($milestone['codename']) ? ' <small>"'.$milestone['codename'].'"</small>' : '')?></em></a></h2>

and the bug is that the anchor is created in the form of 'milestone-'.$milestone['milestone'] and it should be 'milestone-'.$milestone['slug']

Also there's no error if I go to a nonexistent milestone like milestone-qwerty, it's just an empty milestone page.

Activity

  1. Jack closed this ticket as Fixed
    16 years ago

    Thanks for reporting this. I've gone ahead and fixed this.

Status

Fixed
Jack
Normal

Details

Defect
2.0
Roadmap
0.4
Normal

Tracking

arturo182
16 years and 8 months ago
12 years and 12 months ago
0
-
-