From fd85034e7f2277730f4ea4de49dade6d125832dd Mon Sep 17 00:00:00 2001 From: msquare Date: Tue, 19 Dec 2017 20:58:01 +0100 Subject: redo shift signoff and icons for delete/confirm/acknowledgment questions --- includes/controller/angeltypes_controller.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'includes/controller/angeltypes_controller.php') 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); } /** -- cgit v1.2.3-54-g00ecf