From fdabd2ef21b45abf1f14a5f614a94960a92915b9 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 03 Jun 2019 09:17:51 +0000
Subject: [PATCH] Update stops list (i.e. Brzeźnica, Rzeszotary, Skawina, Świątniki)

---
 stops.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/stops.php b/stops.php
index 48d36b2..16eab82 100644
--- a/stops.php
+++ b/stops.php
@@ -12,7 +12,7 @@
 	$pdo = new PDO('sqlite:stops/stops.db', NULL, NULL, array(
 		PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
 	));
-	$st = $pdo->prepare('SELECT DISTINCT id FROM stop_search WHERE word LIKE ?');
+	$st = $pdo->prepare('SELECT DISTINCT id FROM stop_search WHERE word LIKE ? AND id LIKE \'t%\'');
 	
 	// Split stop name into words
 	$words = split_stop_name($_GET['query']);

--
Gitblit v1.9.1