Редирект на плейлист без приведения ид к числу

master
Anthony Axenov 2020-04-29 01:13:34 +08:00 committed by GitHub
parent e10d9c34fb
commit a3529b088d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -92,5 +92,5 @@ if (empty($_GET['s'])) { ?>
</body>
</html>
<?php } else {
header('Location: '.$data[(int)$_GET['s']-1]['pls']);
header('Location: '.$data[$_GET['s']]['pls']);
}