summaryrefslogtreecommitdiff
path: root/includes/controller/shifttypes_controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/controller/shifttypes_controller.php')
-rw-r--r--includes/controller/shifttypes_controller.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/controller/shifttypes_controller.php b/includes/controller/shifttypes_controller.php
index f5760ad5..443ce470 100644
--- a/includes/controller/shifttypes_controller.php
+++ b/includes/controller/shifttypes_controller.php
@@ -1,5 +1,9 @@
<?php
+function shifttype_link($shifttype) {
+ return page_link_to('shifttypes') . '&action=view&shifttype_id=' . $shifttype['id'];
+}
+
/**
* Delete a shifttype.
*/