--- cacti-0.8.6b/lib/functions.php 2004-10-06 22:20:35.000000000 -0400 +++ cacti-0.8.6b-new/lib/functions.php 2004-11-14 20:49:56.000000000 -0500 @@ -1409,7 +1409,7 @@ /* get_browser_query_string - returns the full url, including args requested by the browser @returns - the url requested by the browser */ function get_browser_query_string() { - if (isset($_SERVER["REQUEST_URI"])) { + if (!empty($_SERVER["REQUEST_URI"])) { return basename($_SERVER["REQUEST_URI"]); }else{ return basename($_SERVER["PHP_SELF"]) . (empty($_SERVER["QUERY_STRING"]) ? "" : "?" . $_SERVER["QUERY_STRING"]);