From: Maxious Date: Thu, 10 Nov 2011 11:10:19 +0000 Subject: Fix stops by suburb X-Git-Url: https://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=f4086bf01b23076b7854e8b3841ce2dbac35a7ab --- Fix stops by suburb --- --- a/feedback.php +++ b/feedback.php @@ -31,7 +31,7 @@ } else { $stopid = ""; $stopcode = ""; -$urlparts = explode("?",$_SERVER["HTTP_REFERER"]); +if (isset($_SERVER["HTTP_REFERER"])) $urlparts = explode("?",$_SERVER["HTTP_REFERER"]); if (isset($urlparts[1])) { $getparams = explode("&",$urlparts[1]); foreach ($getparams as $param) { @@ -60,7 +60,7 @@