mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Bump version to 3.0.211
This commit is contained in:
@@ -79,7 +79,7 @@ class ProcessWire extends Wire {
|
|||||||
* Reversion revision number
|
* Reversion revision number
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
const versionRevision = 210;
|
const versionRevision = 211;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Version suffix string (when applicable)
|
* Version suffix string (when applicable)
|
||||||
|
@@ -167,7 +167,7 @@ class InputfieldForm extends InputfieldWrapper {
|
|||||||
$attrStr = $this->getAttributesString($attrs);
|
$attrStr = $this->getAttributesString($attrs);
|
||||||
|
|
||||||
if($this->getSetting('protectCSRF') && $method === 'post') {
|
if($this->getSetting('protectCSRF') && $method === 'post') {
|
||||||
$tokenField = $this->wire('session')->CSRF->renderInput();
|
$tokenField = $this->wire()->session->CSRF->renderInput();
|
||||||
} else {
|
} else {
|
||||||
$tokenField = '';
|
$tokenField = '';
|
||||||
}
|
}
|
||||||
@@ -628,7 +628,7 @@ class InputfieldForm extends InputfieldWrapper {
|
|||||||
$submitted = true;
|
$submitted = true;
|
||||||
|
|
||||||
} else if($submitName === 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;
|
$submitted = false;
|
||||||
foreach($this->getAll() as $f) {
|
foreach($this->getAll() as $f) {
|
||||||
if(!$f instanceof InputfieldSubmit) continue;
|
if(!$f instanceof InputfieldSubmit) continue;
|
||||||
|
Reference in New Issue
Block a user