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:
@@ -79,7 +79,7 @@ class ProcessWire extends Wire {
|
||||
* Reversion revision number
|
||||
*
|
||||
*/
|
||||
const versionRevision = 210;
|
||||
const versionRevision = 211;
|
||||
|
||||
/**
|
||||
* Version suffix string (when applicable)
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user