summaryrefslogtreecommitdiff
path: root/includes/pages/user_shifts.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-01-01 16:26:43 +0100
committerGitHub <noreply@github.com>2017-01-01 16:26:43 +0100
commita8ab9ccce10fb476dc480de40a49b513f5d505de (patch)
tree379e5142bcedd62000bc11a56f388d618db6c819 /includes/pages/user_shifts.php
parent22e0c481bde4227ce0d2adc648145b0fd1aa7845 (diff)
parentf894ca5fa4646683efd3b9e0c540e820e1d24e77 (diff)
Merge pull request #305 from MyIgel/real-path
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),