diff --git a/Connections/database_functions.php b/Connections/database_functions.php index d81e229..637c39d 100644 --- a/Connections/database_functions.php +++ b/Connections/database_functions.php @@ -603,7 +603,7 @@ function list_min($start_time, $start_offset_min, $form_name, $hours, $display_e echo ''; echo ''; } - for ($j = 0; $j <= $hours* (60 / $min); $j++) { + for ($j = -1; $j <= $hours* (60 / $min); $j++) { $list_time = $start_time + $j*$min*60; if ($display_elapsed_hours == 1) { $elapsed_hours = "   [" . date("G:i",mktime(0, 0, 0, 1,1,2000) + ($j+1)*$min*60). " hrs]";