From 9dedea0f9d7338654651b0eefcab5a753f0aab1d Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Tue, 5 Aug 2008 11:44:04 +0200 Subject: [PATCH] Fixed issue 12, better regular expressions to link issues. The bug was due to a bad initialization of the git repository path in the issue comment parser. Time to make more init tests! --- src/IDF/Template/IssueComment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Template/IssueComment.php b/src/IDF/Template/IssueComment.php index 6b1e89b..8647b39 100644 --- a/src/IDF/Template/IssueComment.php +++ b/src/IDF/Template/IssueComment.php @@ -34,7 +34,7 @@ class IDF_Template_IssueComment extends Pluf_Template_Tag function start($text, $project) { $this->project = $project; - $this->git = new IDF_Git(Pluf::f('git_repository')); + $this->git = new IDF_Git($this->project->getGitRepository()); $text = wordwrap($text, 69, "\n", true); $text = Pluf_esc($text); $text = ereg_replace('[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]',