diff --git a/modules/emails/actions.php b/modules/emails/actions.php index 45c834f7d..c0908409e 100755 --- a/modules/emails/actions.php +++ b/modules/emails/actions.php @@ -43,7 +43,7 @@ switch (post('op')) { 'reply_to' => post('reply_to'), 'cc' => post('cc'), 'bcc' => post('bcc'), - 'body' => $_POST['body'], // post('body'), + 'body' => $_POST['body'], // post('body', true), 'read_notify' => post('read_notify'), 'note_aggiuntive' => post('note_aggiuntive'), ], ['id' => $id_record]); diff --git a/modules/emails/edit.php b/modules/emails/edit.php index c59ff0ef2..0492b13d8 100755 --- a/modules/emails/edit.php +++ b/modules/emails/edit.php @@ -110,7 +110,7 @@ echo '
- {[ "type": "ckeditor", "label": "", "name": "body", "value": "$body$" ]} + {[ "type": "ckeditor", "use_full_ckeditor": 1, "label": "", "name": "body", "value": "$body$" ]}
diff --git a/modules/newsletter/actions.php b/modules/newsletter/actions.php index 076e7336e..edf238c05 100755 --- a/modules/newsletter/actions.php +++ b/modules/newsletter/actions.php @@ -46,7 +46,7 @@ switch (filter('op')) { $newsletter->completed_at = filter('completed_at'); $newsletter->subject = filter('subject'); - $newsletter->content = post('content', true); //filter('content'); + $newsletter->content = $_POST['content']; // post('content', true); $newsletter->save();