Foppe Hemminga hace 6 años
padre
commit
9d64a40504
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      index.php

+ 2 - 0
index.php

@@ -58,6 +58,7 @@ TABLEFOOT;
 					echo $table_foot;
 					echo '<h4>' . htmlspecialchars($row['race_date']) . '</h4>';
 					echo $table_head;
+					$new_day = $row['race_date'];
 				}
 			} else {
 				$new_day = $row['race_date'];
@@ -66,6 +67,7 @@ TABLEFOOT;
                 if ($new_venue != $row['venue'] ) {
 					echo $table_foot;
 					echo $table_head;
+					$new_venue = $row['venue'];
 				}
             } else {
 				$new_venue = $row['venue'];