From 1388844073c36bf7c3f1bf07df2b0472fca0d3b2 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Wed, 12 Jul 2006 10:15:20 +0000 Subject: [PATCH] fix subscribed comment notifications for empty mails --- docs/NEWS | 10 ++++++++-- include/functions_comments.inc.php | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/NEWS b/docs/NEWS index 0b37795..c147f69 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -214,8 +214,14 @@ Version 1.1-alpha5() Version 1.0.1 () ------------------------------------------------------------------------ - * Chorizo Security Checks: Fixed possible browser-dependant attribute - injection in the templatechooser-Plugin (garvinhicking) + * Fix bug sending comment-notification mails to subscribed users + without an email address (garvinhicking) + + * Chorizo Security Checks: Fixed possible browser-dependant attribute + injection in the templatechooser-Plugin [NOT REALLY SURE YET IF THIS + INDEED WAS A BUG. NEEDS CLARITY] (garvinhicking) + + * Fixed icelandic language bug preventing upgrade (garvinhicking) Version 1.0 (June 15th, 2006) ------------------------------------------------------------------------ diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index d461f1d..86ee43a 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -538,6 +538,7 @@ function serendipity_mailSubscribers($entry_id, $poster, $posterMail, $title, $f FROM {$serendipity['dbPrefix']}comments WHERE entry_id = '". (int)$entry_id ."' AND email <> '" . serendipity_db_escape_string($posterMail) . "' + AND email <> '' AND subscribed = 'true' $mysql_insert"; $subscribers = serendipity_db_query($sql); -- 2.39.5