From bc2749b76c19fdb05d8f3fb3104c9cdb1a4dd0d8 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 20 Jan 2023 15:52:21 -0500 Subject: [PATCH] Bump version to 3.0.211 --- wire/core/ProcessWire.php | 2 +- wire/modules/Inputfield/InputfieldForm.module | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wire/core/ProcessWire.php b/wire/core/ProcessWire.php index badaf5da..8fc843f7 100644 --- a/wire/core/ProcessWire.php +++ b/wire/core/ProcessWire.php @@ -79,7 +79,7 @@ class ProcessWire extends Wire { * Reversion revision number * */ - const versionRevision = 210; + const versionRevision = 211; /** * Version suffix string (when applicable) diff --git a/wire/modules/Inputfield/InputfieldForm.module b/wire/modules/Inputfield/InputfieldForm.module index 8a4012da..a10b9df9 100644 --- a/wire/modules/Inputfield/InputfieldForm.module +++ b/wire/modules/Inputfield/InputfieldForm.module @@ -167,7 +167,7 @@ class InputfieldForm extends InputfieldWrapper { $attrStr = $this->getAttributesString($attrs); if($this->getSetting('protectCSRF') && $method === 'post') { - $tokenField = $this->wire('session')->CSRF->renderInput(); + $tokenField = $this->wire()->session->CSRF->renderInput(); } else { $tokenField = ''; } @@ -628,7 +628,7 @@ class InputfieldForm extends InputfieldWrapper { $submitted = true; } else if($submitName === true) { - // find which submit button was slicked to return its name + // find which submit button was clicked to return its name $submitted = false; foreach($this->getAll() as $f) { if(!$f instanceof InputfieldSubmit) continue;