From 0483474ea033cb7e117283132359ea6291234ab5 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sun, 20 Jun 2021 12:43:42 +0800 Subject: [PATCH] Fix php warning --- web/public_php/admin/tool_graphs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/public_php/admin/tool_graphs.php b/web/public_php/admin/tool_graphs.php index 9a0247275..060c5497f 100644 --- a/web/public_php/admin/tool_graphs.php +++ b/web/public_php/admin/tool_graphs.php @@ -261,6 +261,7 @@ $tpl->assign('tool_frame_list', $tool_hires_frames); $tpl->assign('tool_frame_selected', $view_time_highframe); + $rrd_webs = array(); if ($view_shard_id && $view_time_highframe) { $graph_data_tmp = tool_graphs_get_list_v2($AS_RRDPath, strtolower($AS_InternalName), true); @@ -284,7 +285,6 @@ else { $now = time(); - $rrd_webs = array(); reset($graph_list); foreach($graph_list as $graph_item)