Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
[HaveIBeenPwnedBridge] Fix item URIs (RSS-Bridge#2724)
Browse files Browse the repository at this point in the history
  • Loading branch information
VerifiedJoseph authored and Kwbmm committed Jun 17, 2022
1 parent 1960d99 commit 2b62258
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bridges/HaveIBeenPwnedBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ public function collectData() {

$data = json_decode(getContents(self::API_URI . '/breaches'), true);

$breaches = array();

foreach($data as $breach) {
$item = array();

Expand All @@ -48,7 +46,7 @@ public function collectData() {
. $pwnCount . ' breached accounts';
$item['dateAdded'] = $breach['AddedDate'];
$item['breachDate'] = $breach['BreachDate'];
$item['uri'] = self::URI . '/PwnedWebsites' . $breach['Name'];
$item['uri'] = self::URI . '/PwnedWebsites#' . $breach['Name'];

$item['content'] = '<p>' . $breach['Description'] . '</p>';
$item['content'] .= '<p>' . $this->breachType($breach) . '</p>';
Expand Down

0 comments on commit 2b62258

Please sign in to comment.