Minor improvements (#1383)

* Minor improvements

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2024-02-08 00:52:38 +07:00 committed by GitHub
commit cebdafb82c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 5 deletions

View file

@ -132,6 +132,8 @@ if ($topic_id) {
// Start session management
$user->session_start(['req_login' => true]);
set_die_append_msg($forum_id, $topic_id);
// Check if user did or did not confirm. If they did not, forward them to the last page they were on
if (isset($_POST['cancel']) || IS_GUEST) {
$redirect = 'index.php';