Minor improvements (#900)

This commit is contained in:
Roman Kelesidis 2023-09-09 21:32:04 +07:00 committed by GitHub
commit cc07ecb56c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 10 deletions

View file

@ -36,7 +36,7 @@ if (strlen($info_hash) == 32) {
} elseif (strlen($info_hash) == 20) {
$is_bt_v2 = false;
} else {
msg_die('Invalid info_hash');
msg_die('Invalid info_hash: ' . $info_hash);
}
$info_hash_sql = rtrim(DB()->escape($info_hash), ' ');