diff --git a/bridges/HaveIBeenPwnedBridge.php b/bridges/HaveIBeenPwnedBridge.php index 91ea43f2756..da1e3938bcc 100644 --- a/bridges/HaveIBeenPwnedBridge.php +++ b/bridges/HaveIBeenPwnedBridge.php @@ -38,8 +38,6 @@ public function collectData() { $data = json_decode(getContents(self::API_URI . '/breaches'), true); - $breaches = array(); - foreach($data as $breach) { $item = array(); @@ -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'] = '
' . $breach['Description'] . '
'; $item['content'] .= '' . $this->breachType($breach) . '
';