diff --git a/packages/vtiger/optional/ModComments.zip b/packages/vtiger/optional/ModComments.zip index fa0dae5f586572ffd459bf257c38c66c33c6f761..4dd6cf47a20001315c969f5234c1331e089382a0 100644 Binary files a/packages/vtiger/optional/ModComments.zip and b/packages/vtiger/optional/ModComments.zip differ diff --git a/pkg/vtiger/modules/ModComments/modules/ModComments/actions/SaveAjax.php b/pkg/vtiger/modules/ModComments/modules/ModComments/actions/SaveAjax.php index 402aeb954c59403f5c3a4bbab6022a1ae37a8707..94f853b97a5b167f37c7250bc01e9572b886337f 100644 --- a/pkg/vtiger/modules/ModComments/modules/ModComments/actions/SaveAjax.php +++ b/pkg/vtiger/modules/ModComments/modules/ModComments/actions/SaveAjax.php @@ -73,11 +73,6 @@ class ModComments_SaveAjax_Action extends Vtiger_SaveAjax_Action { */ public function getRecordModelFromRequest(Vtiger_Request $request) { $recordModel = parent::getRecordModelFromRequest($request); - -// $commentContent = $request->getRaw('commentcontent'); -// $purifiedContent = vtlib_purify(decode_html($commentContent)); -// // Purify malicious html event attributes -// $fieldValue = purifyHtmlEventAttributes(decode_html($purifiedContent),true); $recordModel->set('commentcontent', $request->getRaw('commentcontent')); $recordModel->set('is_private', $request->get('is_private'));