Fix typo in comment form\generate

This commit is contained in:
Clemens Schwaighofer
2022-02-01 19:55:21 +09:00
parent 6a139d3b7c
commit 03f0de5026

View File

@@ -2272,7 +2272,7 @@ class Generate extends \CoreLibs\DB\Extended\ArrayIO
'AS ARRAY'/*.$this->log->prAr($_POST[$el_name])*/ :
'NOT SET/OR NOT ARRAY')
. ((isset($_POST[$el_name]) && !is_array($_POST[$el_name])) ? $_POST[$el_name] : ''));
// if error, check new line addition so we don't loose it
// if error, check new line addition so we don't lose it
if ($this->error) {
if (isset($_POST[$el_name]) && is_array($_POST[$el_name])) {
// this is for the new line