mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 16:46:30 +02:00
fix: small notice errors (#3677)
* fix notice * fix notice * tweak * tweaks
This commit is contained in:
@@ -181,7 +181,12 @@ class CodebergBridge extends BridgeAbstract
|
||||
$item['title'] = $message->find('span.message-wrapper', 0)->plaintext;
|
||||
$item['uri'] = $tr->find('td.sha', 0)->find('a', 0)->href;
|
||||
$item['author'] = $tr->find('td.author', 0)->plaintext;
|
||||
$item['timestamp'] = $tr->find('td', 3)->find('span', 0)->title;
|
||||
|
||||
$var = $tr->find('td', 3);
|
||||
$var1 = $var->find('span', 0);
|
||||
if ($var1) {
|
||||
$item['timestamp'] = $var1->title;
|
||||
}
|
||||
|
||||
if ($message->find('pre.commit-body', 0)) {
|
||||
$message->find('pre.commit-body', 0)->style = '';
|
||||
|
Reference in New Issue
Block a user