diff --git a/extension/qfq/qfq/AbstractBuildForm.php b/extension/qfq/qfq/AbstractBuildForm.php index ec935fc88507413df31f4d5fdafd2cb7823a7a3c..39d8aa7b9654198dcbaac83bbac0363848dfc1a3 100644 --- a/extension/qfq/qfq/AbstractBuildForm.php +++ b/extension/qfq/qfq/AbstractBuildForm.php @@ -484,7 +484,7 @@ abstract class AbstractBuildForm { $storeRecord = $this->store->getStore(STORE_RECORD); $value = $this->report->process($this->bodytextParser->process($value), false); $this->store->setStore($storeRecord, STORE_RECORD, true); - + $this->store->setVar(SYSTEM_REPORT_FULL_LEVEL, '', STORE_SYSTEM); } return $value; @@ -1325,6 +1325,7 @@ abstract class AbstractBuildForm { $column = $formElement[FE_NAME]; $matches = array(); + $inputType = 'number'; $typeSpec = $this->store->getVar($column, STORE_TABLE_COLUMN_TYPES); switch ($typeSpec) { @@ -1389,6 +1390,7 @@ abstract class AbstractBuildForm { case 'float': case 'double': $checkType = SANITIZE_ALLOW_NUMERICAL; + $inputType = 'text'; break; case 'bit': $checkType = SANITIZE_ALLOW_DIGIT; @@ -1408,7 +1410,7 @@ abstract class AbstractBuildForm { $formElement[FE_CHECK_TYPE] = $checkType; if (empty($formElement[FE_INPUT_TYPE])) { - $formElement[FE_INPUT_TYPE] = 'number'; + $formElement[FE_INPUT_TYPE] = $inputType; } }