diff options
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/status_rrd_graph.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index e64cf72..a4aec6d 100644 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -409,7 +409,7 @@ function get_dates($curperiod, $graph) { <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="rrd graphs"> <tr> <td> - <input type="hidden" name="cat" value="<?php echo "$curcat"; ?>" /> + <input type="hidden" name="cat" value="<?php echo htmlspecialchars($curcat); ?>" /> <?php $tab_array = array(); if($curcat == "system") { $tabactive = True; } else { $tabactive = False; } |