[GithubIssueBridge] Fix broken feed item URLs

References #1100
This commit is contained in:
logmanoriginal 2019-06-10 00:02:13 +02:00
parent da339fd5cc
commit e4e04a7865

View file

@ -80,7 +80,7 @@ class GithubIssueBridge extends BridgeAbstract {
private function extractIssueEvent($issueNbr, $title, $comment){ private function extractIssueEvent($issueNbr, $title, $comment){
$uri = buildGitHubIssueCommentUri($issueNbr, $comment->getAttribute('id')); $uri = $this->buildGitHubIssueCommentUri($issueNbr, $comment->id);
$author = $comment->find('.author', 0)->plaintext; $author = $comment->find('.author', 0)->plaintext;
@ -107,7 +107,7 @@ class GithubIssueBridge extends BridgeAbstract {
private function extractIssueComment($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; $author = $comment->find('.author', 0)->plaintext;