1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 18:24:57 +02:00

Bump version to 3.0.211

This commit is contained in:
Ryan Cramer
2023-01-20 15:52:21 -05:00
parent cc99fc3c92
commit bc2749b76c
2 changed files with 3 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ class ProcessWire extends Wire {
* Reversion revision number
*
*/
const versionRevision = 210;
const versionRevision = 211;
/**
* Version suffix string (when applicable)

View File

@@ -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;