summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-06-10 18:09:00 +0000
committerpjmattal <pjmattal>2005-06-10 18:09:00 +0000
commitf1889a9e3d968f194e4b6955915f0e0c3c43622c (patch)
tree967ec673ac03a69ea9ea36eb3cbee01f2104bdf0 /web
parentb1d5d74e84be92a231641637bcaa67f58b1963ea (diff)
downloadaurweb-f1889a9e3d968f194e4b6955915f0e0c3c43622c.tar.xz
Caught bug where we weren't deleting CommentNotify's on package delete
Diffstat (limited to 'web')
-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 791837f..4191440 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