--- a/tripPlanner.php +++ b/tripPlanner.php @@ -1,8 +1,8 @@ ".$url : "")); trackEvent("Trip Planner","Trip Planner Failed", $url); } else { trackEvent("Trip Planner","Plan Trip From", $from); trackEvent("Trip Planner","Plan Trip To", $to); $tripplan = json_decode($page); - debug(print_r($triplan, true)); + debug(print_r($tripplan, true)); echo "

From: {$tripplan->plan->from->name} To: {$tripplan->plan->to->name}

"; echo "

At: ".formatTime($tripplan->plan->date)."

"; if (is_array($tripplan->plan->itineraries->itinerary)) {