#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

  1. arturo182 commented
    16 years ago

    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 ;)

  2. Jack closed this ticket as Fixed
    16 years ago

    Should be fixed.

  3. arturo182 reopened this ticket as Reopened
    16 years ago

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

  4. Jack closed this ticket as Fixed
    16 years ago

Status

Fixed
-
Normal

Details

Defect
2.0
AdminCP
-
Normal

Tracking

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