Compare commits

2 Commits
0.1 ... master

Author SHA1 Message Date
2e0c55156d Update add.php
fix a typo
2018-07-20 10:32:01 +10:00
c49edd640a Update README.md 2018-04-28 17:21:14 +03:00
2 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,4 @@
# tracker_watcher # tracker_watcher
Telegram bot for notification about topic update on rutracker via telegram. Telegram bot for notification about topic update on rutracker via telegram.
also you can use already runned bot instance - @let_you_know_bot

View File

@ -31,7 +31,7 @@ else{
$username = $_POST['telegram']; $username = $_POST['telegram'];
} }
// check if the same user already reqested notify about the same this topic // check if the same user already reqested notify about the same topic
$stmt = $dbh->query( $stmt = $dbh->query(
'SELECT c.username, u.link FROM `contact` c 'SELECT c.username, u.link FROM `contact` c
LEFT JOIN `url` u ON u.id = c.topic_id LEFT JOIN `url` u ON u.id = c.topic_id