Fix: Every comment subscribed to an entry
This commit is contained in:
@ -839,7 +839,7 @@ function serendipity_insertComment($id, $commentInfo, $type = 'NORMAL', $source
|
|||||||
}
|
}
|
||||||
|
|
||||||
$send_optin = false;
|
$send_optin = false;
|
||||||
if (isset($commentInfo['subscribe'])) {
|
if (isset($commentInfo['subscribe']) && $commentInfo['subscribe']) {
|
||||||
if (!isset($serendipity['allowSubscriptionsOptIn']) || $serendipity['allowSubscriptionsOptIn']) {
|
if (!isset($serendipity['allowSubscriptionsOptIn']) || $serendipity['allowSubscriptionsOptIn']) {
|
||||||
$subscribe = 'false';
|
$subscribe = 'false';
|
||||||
$send_optin = true;
|
$send_optin = true;
|
||||||
|
Reference in New Issue
Block a user