diff options
author | jim-p <jimp@pfsense.org> | 2013-09-23 10:00:36 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-09-23 10:00:36 -0400 |
commit | c48776161b56e1ab2c7a43dc1bc5eebb55c61c8f (patch) | |
tree | 229bb9b94d2141097db529f5a989da5aeb0f7309 /usr/local/www | |
parent | 9e3784217b322f0e292bbec28ed87abf7d00677e (diff) | |
download | pfsense-c48776161b56e1ab2c7a43dc1bc5eebb55c61c8f.zip pfsense-c48776161b56e1ab2c7a43dc1bc5eebb55c61c8f.tar.gz |
Include the CP zone in the form parameters if one is defined. Fixes access to concurrent graph on zones other than the first/default.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index 6f747d3..16150cc 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -453,6 +453,9 @@ function get_dates($curperiod, $graph) { <tr> <td colspan="2" class="list"> <?=gettext("Graphs:");?> + <?php if (!empty($curzone)): ?> + <input type="hidden" name="zone" value="<?= htmlspecialchars($curzone) ?>"> + <?php endif; ?> <select name="option" class="formselect" style="z-index: -10;" onchange="document.form1.submit()"> <?php |