diff --git a/front/php/templates/graph.php b/front/php/templates/graph.php index 32388707..a273e26f 100755 --- a/front/php/templates/graph.php +++ b/front/php/templates/graph.php @@ -2,6 +2,8 @@ require 'php/server/db.php'; +global $db; + $Pia_Graph_Device_Time = array(); $Pia_Graph_Device_All = array(); $Pia_Graph_Device_Online = array();