summaryrefslogtreecommitdiff
path: root/templates/add_journey.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-17 16:27:53 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-10-17 16:27:53 +0200
commitf31fdb62d84835de712e93af0a54298f0ee62478 (patch)
treec5d15b730fad5ffddc9d1078c2304eac1c6e9553 /templates/add_journey.html.ep
parent5bc78117d90bb6f04d4113194b15bd7a1c7b7636 (diff)
Fix Model::Journey usage in add_journey template (add missing uid)1.18.4
Diffstat (limited to 'templates/add_journey.html.ep')
-rw-r--r--templates/add_journey.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/add_journey.html.ep b/templates/add_journey.html.ep
index 2e75b60..78d70d1 100644
--- a/templates/add_journey.html.ep
+++ b/templates/add_journey.html.ep
@@ -1,5 +1,5 @@
<h1>Zugfahrt eingeben</h1>
-% if (not journeys->get_oldest_ts()) {
+% if (not journeys->get_oldest_ts(uid => current_user->{id})) {
<div class="row">
<div class="col s12">
<div class="card info-color">