Commit a3ae0591 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fix problem:...

Fix problem: /var/www/html/my/typo3conf/ext/qfq/Classes/Core/Form/FormAction.php / Line: 394 / Undefined index: saveFormJson
Frage 1: FE_SAVE_FORM_JSON /FE_SAVE_FORM_JSON_NAME werden an keiner anderen Stelle im Code verwendet - wird der Code noch benoetigt?
Frage 2: Wird wirklich bei jeder action element geprueft ob json erzeugt werden soll - macht das Sinn?
parent f6713f80
Pipeline #5127 passed with stages
in 3 minutes and 42 seconds
......@@ -391,7 +391,7 @@ class FormAction {
$this->evaluate->parse($fe[FE_SQL_AFTER]);
// If given: save json form
if ($fe[FE_SAVE_FORM_JSON] !== null && $fe[FE_SAVE_FORM_JSON] !== '' && $fe[FE_SAVE_FORM_JSON_NAME] !== null && $fe[FE_SAVE_FORM_JSON_NAME] !== '') {
if (!empty($fe[FE_SAVE_FORM_JSON]) && !empty($fe[FE_SAVE_FORM_JSON_NAME])) {
$jsonContent = $this->evaluate->parse($fe[FE_SAVE_FORM_JSON]);
if ($jsonContent !== '') {
$dbQfq = new Database($this->store->getVar(SYSTEM_DB_INDEX_QFQ, STORE_SYSTEM));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment