From: "J.T. Conklin" <j...@acorntoolworks.com> --- footer.php | 2 +- header.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/footer.php b/footer.php index 4e7eebc..7005cf0 100644 --- a/footer.php +++ b/footer.php @@ -3,7 +3,7 @@ $tpl = new Dwoo_Template_File( template("footer.tpl") ); $data = new Dwoo_Data(); $data->assign("webfrontend_version",$version["webfrontend"]); -if (isset($_GET["hide-hf"]) && filter_input(INPUT_GET, "hide-hf", FILTER_VALIDATE_BOOLEAN, array("flags" => FILTER_NULL_ON_FAILURE))) { +if (isset($_GET["hide-hf"]) && $_GET["hide-hf"] == "true") { $data->assign("hide_footer", true); } diff --git a/header.php b/header.php index bb9d69a..def47e9 100755 --- a/header.php +++ b/header.php @@ -286,7 +286,7 @@ if(count($gridstack) > 1) { $tpl = new Dwoo_Template_File( template("$header.tpl") ); $data = new Dwoo_Data(); -if (isset($_GET["hide-hf"]) && filter_input(INPUT_GET, "hide-hf", FILTER_VALIDATE_BOOLEAN, array("flags" => FILTER_NULL_ON_FAILURE))) { +if (isset($_GET["hide-hf"]) && $_GET["hide-hf"] == "true") { $data->assign("hide_header", true); } -- 1.8.3.4 (Apple Git-47) ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers