summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-06-10 20:09:00 +0200
committerpjmattal <pjmattal>2005-06-10 20:09:00 +0200
commitf1889a9e3d968f194e4b6955915f0e0c3c43622c (patch)
tree967ec673ac03a69ea9ea36eb3cbee01f2104bdf0
parentb1d5d74e84be92a231641637bcaa67f58b1963ea (diff)
downloadaur-f1889a9e3d968f194e4b6955915f0e0c3c43622c.tar.gz
aur-f1889a9e3d968f194e4b6955915f0e0c3c43622c.tar.xz
Caught bug where we weren't deleting CommentNotify's on package delete
-rw-r--r--web/html/packages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/packages.php b/web/html/packages.php
index 791837f4..4191440b 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -244,7 +244,7 @@ if (isset($_REQUEST["do_Flag"])) {
$result = db_query($q, $dbh);
# 7) delete from CommentNotify
- $q = "DELETE FROM CommentNotify WHERE ID = " . $id;
+ $q = "DELETE FROM CommentNotify WHERE PkgID = " . $id;
$result = db_query($q, $dbh);
# TODO question: Now that the package as been deleted, does