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