Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2020-02-07 22:46:13 +0300
committerGitHub <noreply@github.com>2020-02-07 22:46:13 +0300
commitbb185e768ab1084f5be2deb10266cc2225c9aa77 (patch)
tree03d13bcfeac08ff1c9c15dc1d8f64af0496bb5a6
parent2faf418142e75e5cab9fc923c56f51e617bd6638 (diff)
Fix deprecation notice (#15530)
see https://github.com/matomo-org/matomo/pull/15467#issuecomment-583283444
-rw-r--r--plugins/CoreVisualizations/Visualizations/HtmlTable.php2
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;
}