summaryrefslogtreecommitdiff
path: root/app/Controller/Comment.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-19 18:54:00 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-19 18:54:00 -0400
commit33a3196001a29e82f77faf8799c58c6ec3cc7579 (patch)
treef4737de8e41bf6bdbb2c16244b5ab9ad8da3722a /app/Controller/Comment.php
parent56c08e55f73113cc13cedeef67a3312b314b8f40 (diff)
Fix minor issues
Diffstat (limited to 'app/Controller/Comment.php')
-rw-r--r--app/Controller/Comment.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Comment.php b/app/Controller/Comment.php
index 7b9d4aee..81fd7215 100644
--- a/app/Controller/Comment.php
+++ b/app/Controller/Comment.php
@@ -140,7 +140,7 @@ class Comment extends Base
$this->session->flashError(t('Unable to update your comment.'));
}
- $this->response->redirect($this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])), 'comment-'.$comment['id']);
+ $this->response->redirect($this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), 'comment-'.$comment['id']));
}
$this->edit($values, $errors);
@@ -181,6 +181,6 @@ class Comment extends Base
$this->session->flashError(t('Unable to remove this comment.'));
}
- $this->response->redirect($this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])), 'comments');
+ $this->response->redirect($this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), 'comments'));
}
}