Update edit.php

if I want to edit some events created before 2.7 version, there was a little problem :
end time value was everytime 01:00.

Why? when end_ts is initialized, $fields["start_time_hours"] and $fields["start_time_minutes"] are both empty, so the result is 00:00 +3600sec