summaryrefslogtreecommitdiff
path: root/includes/controller/angeltypes_controller.php
diff options
context:
space:
mode:
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);
}
/**