diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-04-29 17:32:43 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-04-29 17:32:43 -0400 |
commit | fc8f8748b9f89167ca9e6f4670bbc5e032e068b7 (patch) | |
tree | a7a5065e9a31dbd585439fdc2d8414abbfe074a6 /app/Template/comment/show.php | |
parent | 81a25cbe6328eab7c4de0befc64186610ecc7f49 (diff) |
Fixed wrong task link generation within Markdown text
Diffstat (limited to 'app/Template/comment/show.php')
-rw-r--r-- | app/Template/comment/show.php | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/app/Template/comment/show.php b/app/Template/comment/show.php index 3f45e2e7..2aca26b3 100644 --- a/app/Template/comment/show.php +++ b/app/Template/comment/show.php @@ -12,29 +12,7 @@ <div class="comment-content"> <div class="markdown"> - <?php if (isset($is_public) && $is_public): ?> - <?= $this->text->markdown( - $comment['comment'], - array( - 'controller' => 'task', - 'action' => 'readonly', - 'params' => array( - 'token' => $project['token'] - ) - ) - ) ?> - <?php else: ?> - <?= $this->text->markdown( - $comment['comment'], - array( - 'controller' => 'task', - 'action' => 'show', - 'params' => array( - 'project_id' => $task['project_id'] - ) - ) - ) ?> - <?php endif ?> + <?= $this->text->markdown($comment['comment'], isset($is_public) && $is_public) ?> </div> </div> |