mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Set response code in some cases (#1319)
* Set response code in some cases * Update CHANGELOG.md
This commit is contained in:
parent
ae616f3a74
commit
125cd11c01
9 changed files with 33 additions and 34 deletions
|
@ -82,7 +82,7 @@ function topic_info($topic_id)
|
|||
";
|
||||
|
||||
if (!$torrent = DB()->fetch_row($sql)) {
|
||||
bb_die($lang['TOPIC_POST_NOT_EXIST']);
|
||||
bb_die($lang['TOPIC_POST_NOT_EXIST'], 404);
|
||||
}
|
||||
|
||||
return $torrent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue