mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Support simultaneous id & username inputs for browsing profiles (#1166)
This commit is contained in:
parent
c3b9a781eb
commit
82251ece8c
2 changed files with 6 additions and 2 deletions
|
@ -26,7 +26,7 @@ if (!$userdata['session_logged_in']) {
|
|||
}
|
||||
}
|
||||
|
||||
if (!$profiledata = get_userdata($_GET[POST_USERS_URL], !is_numeric($_GET[POST_USERS_URL]))) {
|
||||
if (!$profiledata = get_userdata($_GET[POST_USERS_URL], profile_view: true)) {
|
||||
bb_die($lang['NO_USER_ID_SPECIFIED']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue