Zeiterfassung: Controller: falsche Methodennamen korrigiert
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 30 Apr 2021 08:26:17 +0000 (10:26 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 5 May 2021 15:25:03 +0000 (17:25 +0200)
SL/Controller/TimeRecording.pm

index aba6ff5..745de90 100644 (file)
@@ -95,8 +95,8 @@ sub action_save {
   my ($self) = @_;
 
   if ($self->use_duration) {
-    $self->time_recording->start_date(undef);
-    $self->time_recording->end_date(undef);
+    $self->time_recording->start_time(undef);
+    $self->time_recording->end_time(undef);
   }
 
   my @errors = $self->time_recording->validate;