Skip to content

Commit 2c1d731

Browse files
committed
Fix: Web-form exclusion by ID fixed.
1 parent 7052200 commit 2c1d731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cleantalk.antispam/include.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ function OnBeforeResultAddHandler($WEB_FORM_ID, &$arFields, &$arrVALUES)
558558

559559
$webforms_id_checking = CleantalkCustomConfig::get_webforms_ids();
560560
if ($webforms_id_checking && is_array($webforms_id_checking) && count($webforms_id_checking) > 0)
561-
if (!in_array($WEB_FORM_ID, $webforms_id_checking))
561+
if (in_array($WEB_FORM_ID, $webforms_id_checking))
562562
return;
563563

564564
if ($ct_status == 1 && $ct_webform == 1){

0 commit comments

Comments
 (0)