diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index abf150b9..d974cbc6 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -839,7 +839,7 @@ function serendipity_insertComment($id, $commentInfo, $type = 'NORMAL', $source } $send_optin = false; - if (isset($commentInfo['subscribe'])) { + if (isset($commentInfo['subscribe']) && $commentInfo['subscribe']) { if (!isset($serendipity['allowSubscriptionsOptIn']) || $serendipity['allowSubscriptionsOptIn']) { $subscribe = 'false'; $send_optin = true;