mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-08 09:36:39 +02:00
fix: various small fixes (#3578)
This commit is contained in:
@@ -137,7 +137,8 @@ class GithubIssueBridge extends BridgeAbstract
|
||||
{
|
||||
$uri = $this->buildGitHubIssueCommentUri($issueNbr, $comment->id);
|
||||
|
||||
$author = $comment->find('.author', 0)->plaintext;
|
||||
$authorDom = $comment->find('.author', 0);
|
||||
$author = $authorDom->plaintext ?? null;
|
||||
|
||||
$header = $comment->find('.timeline-comment-header > h3', 0);
|
||||
$title .= ' / ' . ($header ? $header->plaintext : 'Activity');
|
||||
|
Reference in New Issue
Block a user