diff --git a/sections/schedule/index.php b/sections/schedule/index.php index ccf4d9a2..d8a1abfe 100644 --- a/sections/schedule/index.php +++ b/sections/schedule/index.php @@ -1251,7 +1251,7 @@ function next_hour() { INSERT INTO top10_history_torrents (HistoryID, Rank, TorrentID, TitleString, TagString) VALUES - ($HistoryID, $i, $TorrentID, ".db_string($TitleString)."', '".db_string($TagString)."')"); + ($HistoryID, $i, $TorrentID, '" . db_string($TitleString) . "', '" . db_string($TagString) . "')"); $i++; endforeach;