Revert "Update dl_list.php"

This reverts commit 85ea291085.
This commit is contained in:
Roman Kelesidis 2024-01-25 23:04:38 +07:00
parent c875156313
commit 124facc774

View File

@ -49,8 +49,8 @@ if (isset($_POST['redirect_type']) && $_POST['redirect_type'] == 'search')
}
else
{
$redirect_type = (!$topic_id) ? FORUM_URL : TOPIC_URL;
$redirect = ($full_url) ? $full_url : ((!$topic_id) ? $redirect_type ."$forum_id" : $redirect_type ."$topic_id");
$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");
}
// Start session management