summaryrefslogtreecommitdiff
path: root/includes/controller/angeltypes_controller.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-19 20:58:01 +0100
committermsquare <msquare@notrademark.de>2017-12-19 20:58:01 +0100
commitfd85034e7f2277730f4ea4de49dade6d125832dd (patch)
tree54017bb754302b578838479d8f4d68f4a92010dd /includes/controller/angeltypes_controller.php
parent567ed9ebd2603a5deb9c171b4d969f7188414794 (diff)
redo shift signoff and icons for delete/confirm/acknowledgment questions
Diffstat (limited to 'includes/controller/angeltypes_controller.php')
-rw-r--r--includes/controller/angeltypes_controller.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/controller/angeltypes_controller.php b/includes/controller/angeltypes_controller.php
index a47c1340..621b5cbd 100644
--- a/includes/controller/angeltypes_controller.php
+++ b/includes/controller/angeltypes_controller.php
@@ -40,11 +40,13 @@ function angeltypes_controller()
* Path to angeltype view.
*
* @param int $angeltype_id AngelType id
+ * @param array $params additional params
* @return string
*/
-function angeltype_link($angeltype_id)
+function angeltype_link($angeltype_id, $params = [])
{
- return page_link_to('angeltypes', ['action' => 'view', 'angeltype_id' => $angeltype_id]);
+ $params = array_merge(['action' => 'view', 'angeltype_id' => $angeltype_id], $params);
+ return page_link_to('angeltypes', $params);
}
/**