Skip to content

Fix error when displaying Milestone details#43

Open
PaulAndrews wants to merge 1 commit intophpfreak:masterfrom
PaulAndrews:patch-2
Open

Fix error when displaying Milestone details#43
PaulAndrews wants to merge 1 commit intophpfreak:masterfrom
PaulAndrews:patch-2

Conversation

@PaulAndrews
Copy link

Code would result in error when canEdit=False, as getMilestoneID was being referenced instead of getMilestone.

Also, a lang() construct was used around the Milestone's name. As language strings can't be set by the user (and the Milestone name when elsewhere isn't treated like this) I replaced this with clean().

Code would result in error when canEdit=False, as getMilestoneID was being referenced instead of getMilestone.

Also, a lang() construct was used around the Milestone's name. As language strings can't be set by the user (and the Milestone name when elsewhere isn't treated like this) I replaced this with clean().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant