summaryrefslogtreecommitdiff
path: root/includes/pages/user_shifts.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-01-01 05:49:02 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-01-01 05:58:42 +0100
commit00d8709ae8edcac15ca7cfb01ffb60e8165f9132 (patch)
tree0ecafdaff5d64022bf1d954795fb792d08479421 /includes/pages/user_shifts.php
parentb8ebd23f6df8317a2b091335640ddd89de8cc55b (diff)
Fix relative paths
Diffstat (limited to 'includes/pages/user_shifts.php')
-rw-r--r--includes/pages/user_shifts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index 60ac79bf..c990ee4a 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -154,7 +154,7 @@ function view_user_shifts() {
return page([
div('col-md-12', [
msg(),
- template_render('../templates/user_shifts.html', [
+ template_render(__DIR__ . '/../../templates/user_shifts.html', [
'title' => shifts_title(),
'room_select' => make_select($rooms, $shiftsFilter->getRooms(), "rooms", _("Rooms")),
'start_select' => html_select_key("start_day", "start_day", array_combine($days, $days), $start_day),