summaryrefslogtreecommitdiff
path: root/app/Integration/SlackWebhook.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-24 16:47:41 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-24 16:47:41 -0400
commit1a0465cb57818fd302da8bd7a27b9a78415d1804 (patch)
treebc56dd3ded941267fe034374283f893438ba74f7 /app/Integration/SlackWebhook.php
parent03fc8a1bce033cc8334f588f3c95baffa1291b54 (diff)
Fix PhpAnalyzer issues
Diffstat (limited to 'app/Integration/SlackWebhook.php')
-rw-r--r--app/Integration/SlackWebhook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Integration/SlackWebhook.php b/app/Integration/SlackWebhook.php
index 4d2ae3a3..8be33496 100644
--- a/app/Integration/SlackWebhook.php
+++ b/app/Integration/SlackWebhook.php
@@ -65,7 +65,7 @@ class SlackWebhook extends \Core\Base
if ($this->config->get('application_url')) {
$payload['text'] .= ' - <'.$this->config->get('application_url');
- $payload['text'] .= $this->helper->u('task', 'show', array('task_id' => $task_id, 'project_id' => $project_id));
+ $payload['text'] .= $this->helper->url->href('task', 'show', array('task_id' => $task_id, 'project_id' => $project_id));
$payload['text'] .= '|'.t('view the task on Kanboard').'>';
}