Fixed the date to be the one of the comment and not the issue.

This commit is contained in:
Loic d'Anterroches 2008-11-15 12:26:21 +01:00
parent 42df3f5a74
commit 619334db67

View File

@ -128,7 +128,7 @@ class IDF_IssueComment extends Pluf_Model
$issue->id));
$url .= '#ic'.$this->id;
$out = "\n".'<tr class="log"><td><a href="'.$url.'">'.
Pluf_esc(Pluf_Template_dateAgo($issue->creation_dtime, 'without')).
Pluf_esc(Pluf_Template_dateAgo($this->creation_dtime, 'without')).
'</a></td><td>';
$submitter = $issue->get_submitter();
$ic = (in_array($issue->status, $request->project->getTagIdsByStatus('closed'))) ? 'issue-c' : 'issue-o';