--- a/stop.pdf.php
+++ b/stop.pdf.php
@@ -1,19 +1,20 @@
'.staticmap(Array(0 => Array($stop[2],$stop[3])), 0,"iconb", false).'
';
$html .= ' ';
-$url = $APIurl."/json/stoptrips?stop=".$_REQUEST['stopid']."&time=".midnight_seconds()."&service_period=".service_period();
+$url = $APIurl."/json/stoptrips?stop=".$stopid."&time=".midnight_seconds()."&service_period=".service_period();
$trips = json_decode(getPage($url));
debug(print_r($trips,true));
foreach ($trips as $row)
{
$html .= '- ';
-$html .= '