From 025558e58e4f3235a2065be84c3e9c97fa5a6822 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Thu, 22 Nov 2018 21:48:05 +0100 Subject: [PATCH] fix restart timesheet button (#436) --- templates/timesheet/index.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/timesheet/index.html.twig b/templates/timesheet/index.html.twig index 7f81783f..c9d7ea10 100644 --- a/templates/timesheet/index.html.twig +++ b/templates/timesheet/index.html.twig @@ -68,7 +68,7 @@ {% if entry.end %} {% if is_granted('start', entry) %} - {% set actionButtons = {'repeat': path('timesheet_start', {'id' : entry.activity.id})}|merge(actionButtons) %} + {% set actionButtons = {'repeat': path('timesheet_start', {'id' : entry.id})}|merge(actionButtons) %} {% endif %} {% else %} {% if is_granted('stop', entry) %}