Commit d1376e1a authored by Dries's avatar Dries

- Patch #7045 by Goba: the tracker links in the 4.4.0 CVS branch are broken,...

- Patch #7045 by Goba: the tracker links in the 4.4.0 CVS branch are broken, since they don't try to separate the fragment from the URL, and so URL aliasing is not possible.
parent 4c01bf24
......@@ -54,7 +54,7 @@ function tracker_posts($id = 0) {
$comments = array();
while ($comment = db_fetch_object($cresult)) {
$comments[] = "<li>". t("%subject by %author", array("%subject" => l($comment->subject, "node/view/$node->nid#comment-$comment->cid"), "%author" => format_name($comment))) ." ". (node_is_new($comment->nid, $comment->timestamp) ? theme("mark") : "") ."</li>\n";
$comments[] = "<li>". t("%subject by %author", array("%subject" => l($comment->subject, "node/view/$node->nid", NULL, NULL, "comment-$comment->cid"), "%author" => format_name($comment))) ." ". (node_is_new($comment->nid, $comment->timestamp) ? theme("mark") : "") ."</li>\n";
}
if ($comments) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment