1 --- cacti-0.8.6h/host.php 2006-01-03 21:08:30.000000000 -0600
2 +++ cacti-fixed/host.php 2006-01-06 22:45:51.630701318 -0600
4 unset($_REQUEST["host_status"]);
7 - if (!empty($_SESSION["sess_host_status"])) {
8 - if ($_SESSION["sess_host_status"] != $_REQUEST["host_status"]) {
9 - $_REQUEST["page"] = 1;
13 /* remember these search fields in session vars so we don't have to keep passing them around */
14 load_current_session_value("page", "sess_device_current_page", "1");
15 load_current_session_value("filter", "sess_device_filter", "");
16 load_current_session_value("host_template_id", "sess_device_host_template_id", "-1");
17 load_current_session_value("host_status", "sess_host_status", "-1");
19 + if (!empty($_SESSION["sess_host_status"])) {
20 + if ($_SESSION["sess_host_status"] != $_REQUEST["host_status"]) {
21 + $_REQUEST["page"] = 1;
25 html_start_box("<strong>Devices</strong>", "98%", $colors["header"], "3", "center", "host.php?action=edit&host_template_id=" . $_REQUEST["host_template_id"] . "&host_status=" . $_REQUEST["host_status"]);
27 include("./include/html/inc_device_filter_table.php");