]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix duplicate detection
authorStephen Paul Weber <singpolyma@singpolyma.net>
Thu, 22 Oct 2015 19:13:16 +0000 (19:13 +0000)
committerStephen Paul Weber <singpolyma@singpolyma.net>
Thu, 12 Nov 2015 19:06:16 +0000 (19:06 +0000)
plugins/Linkback/lib/util.php

index 36801c12d280fc14eefa8273ed3923a871cd084d..16454b5873282e8bee9a5a2d5eddd9e523858a75 100644 (file)
@@ -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;
     }