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;