From f1889a9e3d968f194e4b6955915f0e0c3c43622c Mon Sep 17 00:00:00 2001 From: pjmattal Date: Fri, 10 Jun 2005 18:09:00 +0000 Subject: Caught bug where we weren't deleting CommentNotify's on package delete --- web/html/packages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2