mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update dl_list.php
This commit is contained in:
parent
5f831768eb
commit
85ea291085
@ -49,8 +49,8 @@ if (isset($_POST['redirect_type']) && $_POST['redirect_type'] == 'search')
|
||||
}
|
||||
else
|
||||
{
|
||||
$redirect_type = (!$topic_id) ? "viewforum.php" : "viewtopic.php";
|
||||
$redirect = ($full_url) ? $full_url : ((!$topic_id) ? POST_FORUM_URL ."=$forum_id" : POST_TOPIC_URL ."=$topic_id");
|
||||
$redirect_type = (!$topic_id) ? FORUM_URL : TOPIC_URL;
|
||||
$redirect = ($full_url) ? $full_url : ((!$topic_id) ? $redirect_type ."$forum_id" : $redirect_type ."$topic_id");
|
||||
}
|
||||
|
||||
// Start session management
|
||||
@ -159,4 +159,4 @@ if ($topics_ary && ($mode == 'set_dl_status' || $mode == 'set_topics_dl_status')
|
||||
redirect("$redirect_type?$redirect");
|
||||
}
|
||||
|
||||
redirect("index.php");
|
||||
redirect("index.php");
|
||||
|
Loading…
Reference in New Issue
Block a user