From f4c1c2cd07c911a31e543a09e328cc64dd9bf1bb Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 14 Sep 2019 21:41:53 +0000
Subject: [PATCH] Replace positionType=RAW with CORRECTED for proxy_tram.php

---
 proxy_tram.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/proxy_tram.php b/proxy_tram.php
index 7f3d8a0..40e04ee 100644
--- a/proxy_tram.php
+++ b/proxy_tram.php
@@ -1,3 +1,6 @@
 <?php
 $base_proxy = 'http://www.ttss.krakow.pl/internetservice';
+if($_GET['positionType'] ?? NULL === 'RAW') {
+	$_GET['positionType'] = 'CORRECTED';
+}
 require('proxy_common.php');

--
Gitblit v1.9.1