diff --git a/typo3/sysext/linkvalidator/Classes/Repository/BrokenLinkRepository.php b/typo3/sysext/linkvalidator/Classes/Repository/BrokenLinkRepository.php
index cb7816ae61408f2bf6ab37e06a99e3edc01ed116..0b4835ab0dd107fa7d45d91d27b3bd8995a22026 100644
--- a/typo3/sysext/linkvalidator/Classes/Repository/BrokenLinkRepository.php
+++ b/typo3/sysext/linkvalidator/Classes/Repository/BrokenLinkRepository.php
@@ -92,7 +92,7 @@ class BrokenLinkRepository
 
         $result = [];
         while ($row = $statement->fetch()) {
-            $result[$row['link_type']] = $result['amount'];
+            $result[$row['link_type']] = $row['amount'];
         }
         return $result;
     }