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

Report.php: fixed bug - hidden columns are now accessible via {{<columnname>}}

parent 9c24d2d3
......@@ -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;
}
......
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