summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/html/pkgedit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php
index 06ed80f..e5265e0 100644
--- a/web/html/pkgedit.php
+++ b/web/html/pkgedit.php
@@ -81,6 +81,7 @@ if ($_REQUEST["add_Comment"]) {
$q = "SELECT CommentNotify.*, Users.Email ";
$q.= "FROM CommentNotify, Users ";
$q.= "WHERE Users.ID = CommentNotify.UserID ";
+ $q.= "AND CommentNotify.UserID != ".uid_from_sid($_COOKIE["AURSID"])." ";
$q.= "AND CommentNotify.PkgID = ".intval($_REQUEST["ID"]);
$result = db_query($q, $dbh);
$bcc = array();