Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
fbdad4cf
Commit
fbdad4cf
authored
Apr 28, 2016
by
Carsten Rose
Browse files
Report.php: fixed bug - hidden columns are now accessible via {{<columnname>}}
parent
9c24d2d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/report/Report.php
View file @
fbdad4cf
...
...
@@ -527,7 +527,7 @@ class Report {
$flagControl
=
true
;
$columnName
=
substr
(
$columnName
,
1
);
}
//TODO: reserved names,not starting with '_' will be still accepted - stop this!
switch
(
$columnName
)
{
case
"link"
:
$link
=
new
Link
(
$this
->
fr_error
,
$this
->
sip
);
...
...
@@ -741,7 +741,8 @@ class Report {
break
;
}
$this
->
variables
->
resultArray
[
$full_level
.
"."
][
$columnName
]
=
$content
;
// Always save column values, even if they are hidden.
$this
->
variables
->
resultArray
[
$full_level
.
"."
][
$columnName
]
=
(
$content
==
''
&&
$flagControl
)
?
$columnValue
:
$content
;
return
$content
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment