Skip to content

Commit

Permalink
[GithubIssueBridge] Fix broken feed item URLs
Browse files Browse the repository at this point in the history
References #1100
  • Loading branch information
logmanoriginal committed Jun 9, 2019
1 parent da339fd commit e4e04a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridges/GithubIssueBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private function buildGitHubIssueCommentUri($issue_number, $comment_id) {

private function extractIssueEvent($issueNbr, $title, $comment){

$uri = buildGitHubIssueCommentUri($issueNbr, $comment->getAttribute('id'));
$uri = $this->buildGitHubIssueCommentUri($issueNbr, $comment->id);

$author = $comment->find('.author', 0)->plaintext;

Expand All @@ -107,7 +107,7 @@ private function extractIssueEvent($issueNbr, $title, $comment){

private function extractIssueComment($issueNbr, $title, $comment){

$uri = buildGitHubIssueCommentUri($issueNbr, $comment->id);
$uri = $this->buildGitHubIssueCommentUri($issueNbr, $comment->parent->id);

$author = $comment->find('.author', 0)->plaintext;

Expand Down

0 comments on commit e4e04a7

Please sign in to comment.