#141 - Ticket update - component

Description

If there are no components in the project there's a bug that causes empty component changes to appear when updating tickets. It does that because empty component is '' and empty component in the db is 0 so when comparing it's different ;)

Adding (int) before $_POST['component'] in line 117 of ticket.php fixes it ;)

Attachments

Activity

15 years and 8 months ago by arturo182

Also when I think about it adding a "None" option with value 0 is even better idea cause in that case the select is not empty and looks better ;)

Jack closed as Fixed 15 years and 8 months ago

Should be fixed.

arturo182 reopened as Reopened 15 years and 7 months ago

Same goes for milestones, if a project has no milestones, then every update says "Changed milestone from to "

Jack closed as Fixed 15 years and 7 months ago

Status

Fixed
-
Normal

Details

Defect
2.0
AdminCP
-
Normal

Tracking

arturo182
15 years and 8 months ago
11 years and 11 months ago
0
-
-