diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-24 16:47:41 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-24 16:47:41 -0400 |
commit | 1a0465cb57818fd302da8bd7a27b9a78415d1804 (patch) | |
tree | bc56dd3ded941267fe034374283f893438ba74f7 /app/Integration | |
parent | 03fc8a1bce033cc8334f588f3c95baffa1291b54 (diff) |
Fix PhpAnalyzer issues
Diffstat (limited to 'app/Integration')
-rw-r--r-- | app/Integration/HipchatWebhook.php | 2 | ||||
-rw-r--r-- | app/Integration/SlackWebhook.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Integration/HipchatWebhook.php b/app/Integration/HipchatWebhook.php index 59190959..5cd01fb0 100644 --- a/app/Integration/HipchatWebhook.php +++ b/app/Integration/HipchatWebhook.php @@ -73,7 +73,7 @@ class HipchatWebhook extends \Core\Base if ($this->config->get('application_url')) { $html .= '<br/><a href="'.$this->config->get('application_url'); - $html .= $this->helper->u('task', 'show', array('task_id' => $task_id, 'project_id' => $project_id)).'">'; + $html .= $this->helper->url->href('task', 'show', array('task_id' => $task_id, 'project_id' => $project_id)).'">'; $html .= t('view the task on Kanboard').'</a>'; } 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').'>'; } |