diff --git a/bridges/GithubIssueBridge.php b/bridges/GithubIssueBridge.php index ea78a47d..5834f72a 100644 --- a/bridges/GithubIssueBridge.php +++ b/bridges/GithubIssueBridge.php @@ -128,9 +128,8 @@ class GithubIssueBridge extends BridgeAbstract { $author = $comment->find('.author', 0)->plaintext; - $title .= ' / ' . trim( - $comment->find('.timeline-comment-header-text', 0)->plaintext - ); + $header = $comment->find('.timeline-comment-header > h3', 0); + $title .= ' / ' . ($header ? $header->plaintext : 'Activity'); $time = $comment->find('relative-time', 0); if ($time === null) {