diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-04-27 20:45:45 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-04-27 20:45:45 -0400 |
commit | 81a25cbe6328eab7c4de0befc64186610ecc7f49 (patch) | |
tree | fea088cdda93079aee9e719a1bbe8464358efbb0 /app | |
parent | 5fe413ad28790406c0acfabc0fcc256d051aa76a (diff) |
Fixed wrong URL on comment toggle link for sorting
Diffstat (limited to 'app')
-rw-r--r-- | app/Controller/Comment.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Comment.php b/app/Controller/Comment.php index ff7ec305..0b39f390 100644 --- a/app/Controller/Comment.php +++ b/app/Controller/Comment.php @@ -173,6 +173,6 @@ class Comment extends Base $order = $this->userSession->getCommentSorting() === 'ASC' ? 'DESC' : 'ASC'; $this->userSession->setCommentSorting($order); - $this->response->redirect($this->helper->url->href('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'comments')); + $this->response->redirect($this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), 'comments')); } } |