Prevents NoMethodError when requesting /time_entries/edit without an id (#6904).
Authored by: jplang 2010-11-16
Parent: [r4409]
Child: [r4411]