forked from blallo/rss-bridge
[GithubIssueBridge] fix comments number
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
c9822bffa7
commit
c051730f7c
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class GithubIssueBridge extends BridgeAbstract{
|
|||
$item['title']=$issue->find('.js-navigation-open',0)->plaintext;
|
||||
$comments=$issue->firstChild()->firstChild()
|
||||
->nextSibling()->nextSibling()->nextSibling()->plaintext;
|
||||
$item['content']='Comments: '.$comments;
|
||||
$item['content']='Comments: '.($comments?$comments:'0');
|
||||
$item['uri']='https://github.com'.$issue->find('.js-navigation-open',0)->getAttribute('href');
|
||||
$this->items[]=$item;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue