diff --git a/html/includes/graphs/device/ubnt_unifi_RadioCu_0.inc.php b/html/includes/graphs/device/ubnt_unifi_RadioCu_0.inc.php index 9632cde8c7..3d0e24674e 100644 --- a/html/includes/graphs/device/ubnt_unifi_RadioCu_0.inc.php +++ b/html/includes/graphs/device/ubnt_unifi_RadioCu_0.inc.php @@ -10,7 +10,7 @@ $rigid = true; $print_total = true; $simple_rrd = true; -if (is_file($rrd_filename)) { +if (rrdtool_check_rrd_exists($rrd_filename)) { $rrd_list = array( array( 'ds' => 'Radio0OtherBss', diff --git a/html/includes/graphs/device/ubnt_unifi_RadioCu_1.inc.php b/html/includes/graphs/device/ubnt_unifi_RadioCu_1.inc.php index 81fa57ed8c..58532bc12f 100644 --- a/html/includes/graphs/device/ubnt_unifi_RadioCu_1.inc.php +++ b/html/includes/graphs/device/ubnt_unifi_RadioCu_1.inc.php @@ -10,7 +10,7 @@ $rigid = true; $print_total = true; $simple_rrd = true; -if (is_file($rrd_filename)) { +if (rrdtool_check_rrd_exists($rrd_filename)) { $rrd_list = array( array( 'ds' => 'Radio1OtherBss',