Skip to content

Commit 31a4991

Browse files
author
davydov
committed
fix ccf
1 parent ab57d4e commit 31a4991

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
bitrix-antispam
22
===============
33

4-
1C Bitrix anti-spam mod. 3.11.2
4+
1C Bitrix anti-spam mod. 3.11.3
55

66
Information page,
77
http://cleantalk.org/bitrix-antispam-module-bez-captcha

cleantalk.antispam/include.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ public function OnPageStartHandler()
443443
if (is_array($arUser["message_body"]))
444444
$arUser["message_body"] = implode("\n", $arUser["message_body"]);
445445

446-
if($arUser["sender_email"] !== null || $ct_global_without_email == 1)
446+
if($arUser["sender_email"] != '' || $ct_global_without_email == 1)
447447
{
448448
$aResult = CleantalkAntispam::CheckAllBefore($arUser,FALSE);
449449

@@ -1320,7 +1320,7 @@ static function CheckAllBefore(&$arEntity, $bSendEmail = FALSE, $form_errors = n
13201320
$ct_request->sender_ip = CleantalkHelper::ip_get(array('real'), false);
13211321
$ct_request->x_forwarded_for = CleantalkHelper::ip_get(array('x_forwarded_for'), false);
13221322
$ct_request->x_real_ip = CleantalkHelper::ip_get(array('x_real_ip'), false);
1323-
$ct_request->agent = 'bitrix-3112';
1323+
$ct_request->agent = 'bitrix-3113';
13241324
$ct_request->response_lang = 'ru';
13251325
$ct_request->js_on = $checkjs;
13261326
$ct_request->sender_info = $sender_info;
@@ -1600,7 +1600,7 @@ static function SendFeedback($module, $id, $feedback) {
16001600

16011601
$ct_request = new CleantalkRequest();
16021602
$ct_request->auth_key = $ct_key;
1603-
$ct_request->agent = 'bitrix-3112';
1603+
$ct_request->agent = 'bitrix-3113';
16041604
$ct_request->sender_ip = $ct->ct_session_ip($_SERVER['REMOTE_ADDR']);
16051605
$ct_request->feedback = $request_id . ':' . ($feedback == 'Y' ? '1' : '0');
16061606

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22
$arModuleVersion = array(
3-
"VERSION" => "3.11.2",
3+
"VERSION" => "3.11.3",
44
"VERSION_DATE" => "2018-02-14 24:00:00"
55
);

cleantalk.antispam/options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141

4242
// Send empty feedback for version comparison in Dashboard
43-
$result = CleantalkHelper::api_method_send_empty_feedback($new_key, 'bitrix-3112');
43+
$result = CleantalkHelper::api_method_send_empty_feedback($new_key, 'bitrix-3113');
4444

4545
/**
4646
* Set settings when submit

0 commit comments

Comments
 (0)