diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index 60f7d5b054..b40f23b3a9 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -108,7 +108,7 @@ foreach ($graphs as $graph => $graphd) { $periods = array("2h", "6h", "48h", "14d", "2m", "18m"); -if(file_exists("{$rrddbpath}{$curif}-{$curgraph}.rrd")) { +if((file_exists("{$rrddbpath}{$curif}-{$curgraph}.rrd")) or (file_exists("{$rrddbpath}{$curgraph}.rrd"))) { foreach($periods as $period => $interval) { PRINT "Analysis for $curif -- $interval $curgraph
"; PRINT "\n\"$ifname

";