mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
View user's profile also by it's username (#1048)
This commit is contained in:
parent
f76cc2f0b7
commit
444a872579
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ if (!$userdata['session_logged_in']) {
|
|||
}
|
||||
}
|
||||
|
||||
if (!$profiledata = get_userdata($_GET[POST_USERS_URL])) {
|
||||
if (!$profiledata = get_userdata($_GET[POST_USERS_URL], !is_numeric($_GET[POST_USERS_URL]))) {
|
||||
bb_die($lang['NO_USER_ID_SPECIFIED']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue