--- a/labs/networkstats.php +++ b/labs/networkstats.php @@ -1,6 +1,6 @@ <?php include ('../include/common.inc.php'); -include_header("Network/Route Statistics", "networkstats") +include_header("Route Statistics", "networkstats") ?> <script type="text/javascript" src="js/flotr/lib/prototype-1.6.0.2.js"></script> @@ -31,7 +31,6 @@ <?php // middle of graph = 6am $adjustFactor = 0; -$routeid = ($_REQUEST['routeid'] ? filter_var($_REQUEST['routeid'], FILTER_SANITIZE_NUMBER_INT) : 0); $route = getRoute($routeid); echo "<h1>{$route['route_short_name']} {$route['route_long_name']}</h1>"; foreach (getRouteTrips($routeid) as $key => $trip) {