This is an emergency fix for a serious bug that wrecks the main page. I will upgrade to 3.7.4 after working out different issues with that release. Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D17264
11 lines
380 B
PHP
11 lines
380 B
PHP
--- cluster_view.php.orig 2018-09-20 22:57:59 UTC
|
|
+++ cluster_view.php
|
|
@@ -23,7 +23,7 @@ if ($refresh) {
|
|
}
|
|
|
|
function get_picker_metrics($metrics, $reports, $gweb_root, $graph_engine) {
|
|
- $context_metrics = "";
|
|
+ $context_metrics = array();
|
|
if (count($metrics)) {
|
|
foreach ($metrics as $host_metrics) {
|
|
foreach ($host_metrics as $metric_name => $metric_value) {
|