Permalink
Browse files

Follow-up fix

  • Loading branch information...
1 parent 8a16114 commit 4e3bff9e1300b2e14534ab440fc4b1e097343bf9 trustmaster committed Jun 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 trac2github.php
View
@@ -145,7 +145,7 @@
$res = $trac_db->query("SELECT * FROM `ticket_change` where `field` = 'comment' AND `newvalue` != '' ORDER BY `ticket`, `time` $limit");
foreach ($res->fetchAll() as $row) {
$text = strtolower($row['author']) == strtolower($username) ? $row['newvalue'] : '**Author: ' . $row['author'] . "**\n" . $row['newvalue'];
- $resp = github_add_comment($tickets[$row['ticket']], $row['newvalue']);
+ $resp = github_add_comment($tickets[$row['ticket']], $text);
if (isset($resp['url'])) {
// OK
echo "Added comment {$resp['url']}\n";

0 comments on commit 4e3bff9

Please sign in to comment.