From 9dd6045412611830873e2bdb2d15573685b0ad40 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Wed, 4 Jan 2023 17:06:16 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/projet/tasks/time.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php index 6652b57304a..3c8597cd862 100644 --- a/htdocs/projet/tasks/time.php +++ b/htdocs/projet/tasks/time.php @@ -1630,7 +1630,6 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser } if (!empty($arrayfields['t.task_duration']['checked'])) { - if ($search_timespent_starthour || $search_timespent_startmin) { $timespent_duration_start = $search_timespent_starthour * 60 * 60; // We store duration in seconds $timespent_duration_start += ($search_timespent_startmin ? $search_timespent_startmin : 0) * 60; // We store duration in seconds @@ -1642,7 +1641,6 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser $timespent_duration_end += ($search_timespent_endmin ? $search_timespent_endmin : 0) * 60; // We store duration in seconds $sql .= " AND t.task_duration <= " . $timespent_duration_end; } - } $sql .= dolSqlDateFilter('t.task_datehour', $search_day, $search_month, $search_year);