From 13d426bcf66fb0f27d44847154ba2180884edcd6 Mon Sep 17 00:00:00 2001
From: asevcenc <adrian.sevcenco@cern.ch>
Date: Tue, 20 Sep 2016 14:58:50 +0300
Subject: [PATCH] cluster_view.php :: context_metrics is array

---
 cluster_view.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cluster_view.php b/cluster_view.php
index 04ea38c..9b3826d 100644
--- a/cluster_view.php
+++ b/cluster_view.php
@@ -22,7 +22,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) {
-- 
2.20.1

