diff --git a/app/lib/App/Timetable/TimeMapper.php b/app/lib/App/Timetable/TimeMapper.php index fe1923d..1c24525 100644 --- a/app/lib/App/Timetable/TimeMapper.php +++ b/app/lib/App/Timetable/TimeMapper.php @@ -76,8 +76,8 @@ class TimeMapper { $sth = $this->dbh->prepare('INSERT INTO tidtabell (LagID) VALUES (?)'); $sth->execute([$time->team_id]); - $lastId = $this->dbh->lastInsertId(); - return $this->get($lastId); + $last_id = $this->dbh->lastInsertId(); + return $this->get($last_id); } public function delete(int $id): void diff --git a/app/view/pages/race/live.php b/app/view/pages/race/live.php index 669db9a..456fd1c 100644 --- a/app/view/pages/race/live.php +++ b/app/view/pages/race/live.php @@ -1,3 +1,5 @@ + +

Live resultater


@@ -10,7 +12,8 @@ Laster inn...