From 399a1b7e7ccb2bb4688c9298ff6bd08dbf905d81 Mon Sep 17 00:00:00 2001 From: Carsten Rose <carsten.rose@math.uzh.ch> Date: Fri, 2 Mar 2018 16:25:41 +0100 Subject: [PATCH] test --- extension/Documentation/Manual.rst | 2 +- extension/qfq/qfq/report/Report.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/extension/Documentation/Manual.rst b/extension/Documentation/Manual.rst index cc52b38b7..9278e399c 100644 --- a/extension/Documentation/Manual.rst +++ b/extension/Documentation/Manual.rst @@ -3434,7 +3434,7 @@ See also `downloadButton`_ to offer a download of an uploaded file. record, if table columns `fileSize` and/or `mimeType` exist. * If there are more than one Upload FormElement in a form, the automatically update for `fileSize` and/or `mimeType` - can't be used. + are not useful - the columns only handle * In :ref:`Upload advanced mode` the `fileSize` and / or `mimeType` have to be updated with an explicit SQL statement:: diff --git a/extension/qfq/qfq/report/Report.php b/extension/qfq/qfq/report/Report.php index 9ffd8d583..bbe04d010 100644 --- a/extension/qfq/qfq/report/Report.php +++ b/extension/qfq/qfq/report/Report.php @@ -617,8 +617,10 @@ class Report { $keyAssoc = OnString::stripFirstCharIf(TOKEN_COLUMN_CTRL, $keys[$ii]); if ($keyAssoc != '') { $assoc[$keyAssoc] = $row[$ii]; + } + if ($flagOutput) { //prints $content .= $this->variables->doVariables($fsep); -- GitLab