From b5f3286389b0968b57ee9fbfa2b4940d21f7b770 Mon Sep 17 00:00:00 2001 From: Jan Vince Date: Thu, 22 Feb 2024 18:09:25 +0100 Subject: [PATCH] Fixed passive antispam validation --- components/SmallContactForm.php | 2 +- updates/version.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/SmallContactForm.php b/components/SmallContactForm.php index dd6405b..53b316b 100644 --- a/components/SmallContactForm.php +++ b/components/SmallContactForm.php @@ -819,7 +819,7 @@ public function getAntispamFieldHtmlCode(){ // Field attributes $attributes = [ 'id' => '_protect-'.$this->alias, - 'name' => '_protect', + 'name' => '_protect-'.$this->alias, 'class' => '_protect form-control', 'value' => 'http://', ]; diff --git a/updates/version.yaml b/updates/version.yaml index 76d990b..933438a 100644 --- a/updates/version.yaml +++ b/updates/version.yaml @@ -317,4 +317,6 @@ 1.66.1: - Fixed mail notification text for Czech language 1.66.2: - - Added snippetAjax option (thanks @DenSit-be) \ No newline at end of file + - Added snippetAjax option (thanks @DenSit-be) +1.66.3: + - Fixed passive antispam validation (thanks @Quendi6) \ No newline at end of file