Skip to content

Commit

Permalink
fix notice
Browse files Browse the repository at this point in the history
  • Loading branch information
dvikan committed Sep 20, 2023
1 parent 261aede commit 964c612
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bridges/CodebergBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,12 @@ private function extractCommits($html)
$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 = '';
Expand Down

0 comments on commit 964c612

Please sign in to comment.