1
0

Disable email notifications for replies send from backend

Add variable $comment to control comment replies from backend
This commit is contained in:
xoxys
2016-02-08 09:47:58 +01:00
parent c3df4cc0c4
commit 93322d2dce

View File

@@ -56,6 +56,7 @@ if (isset($serendipity['GET']['adminAction']) && $serendipity['GET']['adminActio
$comment['email'] = $serendipity['POST']['email'];
$comment['subscribe'] = $serendipity['POST']['subscribe'];
$comment['parent_id'] = $serendipity['POST']['replyTo'];
$comment['backend'] = true;
if (!empty($comment['comment'])) {
if (serendipity_saveComment($serendipity['POST']['entry_id'], $comment, 'NORMAL')) {
$data['commentReplied'] = true;