diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-02-07 22:46:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-07 22:46:13 +0300 |
commit | bb185e768ab1084f5be2deb10266cc2225c9aa77 (patch) | |
tree | 03d13bcfeac08ff1c9c15dc1d8f64af0496bb5a6 /plugins/CoreVisualizations/Visualizations | |
parent | 2faf418142e75e5cab9fc923c56f51e617bd6638 (diff) |
Fix deprecation notice (#15530)
see https://github.com/matomo-org/matomo/pull/15467#issuecomment-583283444
Diffstat (limited to 'plugins/CoreVisualizations/Visualizations')
-rw-r--r-- | plugins/CoreVisualizations/Visualizations/HtmlTable.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreVisualizations/Visualizations/HtmlTable.php b/plugins/CoreVisualizations/Visualizations/HtmlTable.php index d78702b87f..42c0798fbf 100644 --- a/plugins/CoreVisualizations/Visualizations/HtmlTable.php +++ b/plugins/CoreVisualizations/Visualizations/HtmlTable.php @@ -228,7 +228,7 @@ class HtmlTable extends Visualization // Try to check the column by it's index (not possible for all metrics, like custom columns) $indexColumn = !empty($columnNamesToIndices[$column]) ? $columnNamesToIndices[$column] : null; - $value = ($indexColumn && $row->getColumn($indexColumn)) ? $row->getColumn($indexColumn) : $row->getColumn($column) ?: 0; + $value = (($indexColumn && $row->getColumn($indexColumn)) ? $row->getColumn($indexColumn) : $row->getColumn($column)) ?: 0; if ($column == 'label') { continue; } |