From c5bdf6924d6ad302952e91c557a81a4943720ce8 Mon Sep 17 00:00:00 2001
From: Stephen Paul Weber <singpolyma@singpolyma.net>
Date: Thu, 22 Oct 2015 19:13:16 +0000
Subject: [PATCH] Fix duplicate detection

---
 plugins/Linkback/lib/util.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/Linkback/lib/util.php b/plugins/Linkback/lib/util.php
index 36801c12d2..16454b5873 100644
--- a/plugins/Linkback/lib/util.php
+++ b/plugins/Linkback/lib/util.php
@@ -142,7 +142,7 @@ function linkback_entry_type($entry, $mf2, $target) {
 }
 
 function linkback_is_dupe($key, $url) {
-    $dupe = Notice::getKV('uri', $url);
+    $dupe = Notice::getKV($key, $url);
     if ($dupe instanceof Notice) {
         return $dupe;
     }
-- 
2.39.5