diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/pages/user_myshifts.php | 7 | ||||
-rw-r--r-- | includes/pages/user_shifts.php | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/includes/pages/user_myshifts.php b/includes/pages/user_myshifts.php new file mode 100644 index 00000000..669d927c --- /dev/null +++ b/includes/pages/user_myshifts.php @@ -0,0 +1,7 @@ +<?php + +function user_myshifts() { + return "bla"; +} + +?>
\ No newline at end of file diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index a2ce5f77..597b652a 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -44,6 +44,8 @@ function user_shifts() { } else $user_id = $user['UID']; + + // TODO: Kollisionserkennung, andere Schichten zur gleichen Uhrzeit darf der Engel auch nicht belegt haben... $entries = sql_select("SELECT * FROM `ShiftEntry` WHERE `SID`=" . sql_escape($shift['SID'])); foreach ($entries as $entry) if ($entry['UID'] == $user_id) |