mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Code refactoring (#1441)
* Code refactoring * Update viewtopic.php * Update viewforum.php * Update posting.php * Update viewtopic.php * Revert "Code refactoring" This reverts commite4ac08e377
. * Revert "Update viewforum.php" This reverts commit1ee6321385
. * Update viewforum.php * Update viewtopic.php * Update viewtopic.php * Update viewtopic.php * Update viewtopic.php * Update dl_list.php * Update posting.php * Update posting.php * Update posting.php * Update viewprofile.php * Update email.php * Update viewtopic.php * Update functions.php * Update posting.php * Update viewtopic.php * Update CHANGELOG.md
This commit is contained in:
parent
8ba00d5966
commit
2472608c6d
8 changed files with 19 additions and 29 deletions
|
@ -24,7 +24,7 @@ if (!empty($_GET[POST_USERS_URL]) || !empty($_POST[POST_USERS_URL])) {
|
|||
bb_die($lang['NO_USER_SPECIFIED']);
|
||||
}
|
||||
|
||||
if (!$userdata['session_logged_in']) {
|
||||
if (IS_GUEST) {
|
||||
redirect(LOGIN_URL . "?redirect=profile.php&mode=email&" . POST_USERS_URL . "=$user_id");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue