commit 3de6b5692b1230a2a73d3b7cfaf51ec75ddb11cd
parent 7ccc8358dc3e150a07b4aa404c60d4165aba6b65
Author: Jan Dankert <devnull@localhost>
Date: Fri, 15 Dec 2017 21:49:57 +0100
Fix: Die Form-Method kam aus der falschen Variable.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/template-engine/components/html/form/Form.class.php b/modules/template-engine/components/html/form/Form.class.php
@@ -49,7 +49,7 @@ class FormComponent extends Component
echo ' data-method="' . $this->htmlvalue($this->subaction) . '"';
echo ' data-action="' . $this->htmlvalue($this->action) . '"';
echo ' data-id="' . $this->htmlvalue($this->id) . '"';
- echo ' method="' . $this->htmlvalue($this->subaction) . '"';
+ echo ' method="' . $this->htmlvalue($this->method) . '"';
echo ' enctype="' . $this->htmlvalue($this->enctype) . '"';
echo ' class="' . $this->htmlvalue($this->action) . '"';
echo ' data-async="' . $this->htmlvalue($this->async) . '"';