„duplicate_api.php“ ändern

This commit is contained in:
Manuel Kamper 2022-11-01 12:35:56 +00:00
parent e29ecd6bd5
commit 163d0eb9b1
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ if (isset($_GET['insertDuplicate'])) {
if ($duplicateId != "") {
if (ctype_digit($duplicateId)) {
try {
$st = $db->prepare("DELETE FROM no_duplicates WHERE id = ?;");
$st = $db->prepare("DELETE FROM no_duplicates WHERE pd_id = ?;");
$st->execute(array($duplicateId));
if ($st->rowCount()) {
response(200, "Removed successfully the mark as non-duplicate.");