diff options
author | swiergot <swiergot> | 2005-08-06 15:56:47 +0000 |
---|---|---|
committer | swiergot <swiergot> | 2005-08-06 15:56:47 +0000 |
commit | 2950b79c0ba4c645186ae65f484c6dfaf6ad1cb9 (patch) | |
tree | 5d8cec398987f3f2194ad6b712d3ef37087b7f4f /web/html/pkgedit.php | |
parent | ecf37bd7bcc1cd97029ba46092e39396eba26028 (diff) | |
download | aurweb-2950b79c0ba4c645186ae65f484c6dfaf6ad1cb9.tar.xz |
don't notify users about their own comments (closes #3048)
Diffstat (limited to 'web/html/pkgedit.php')
-rw-r--r-- | web/html/pkgedit.php | 1 |
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(); |