Fix duplicate detection

This commit is contained in:
Stephen Paul Weber 2015-10-22 19:13:16 +00:00
parent 64ac344efa
commit c5bdf6924d

View 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;
}