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!
svn
Loic d'Anterroches 2008-08-05 11:44:04 +02:00
parent 0a868a76ba
commit 9dedea0f9d
1 changed files with 1 additions and 1 deletions

View File

@ -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:]/]',