diff options
Diffstat (limited to 'app/Subscriber')
-rw-r--r-- | app/Subscriber/SubtaskTimeTrackingSubscriber.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Subscriber/SubtaskTimeTrackingSubscriber.php b/app/Subscriber/SubtaskTimeTrackingSubscriber.php index 02f14c40..e45b2c93 100644 --- a/app/Subscriber/SubtaskTimeTrackingSubscriber.php +++ b/app/Subscriber/SubtaskTimeTrackingSubscriber.php @@ -28,7 +28,7 @@ class SubtaskTimeTrackingSubscriber extends \Core\Base implements EventSubscribe public function logStartEnd(SubtaskEvent $event) { - if (isset($event['status'])) { + if (isset($event['status']) && $this->config->get('subtask_time_tracking') == 1) { $subtask = $this->subtask->getById($event['id']); |