Skip to content

Commit

Permalink
Merge branch 'master-2.26'
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Apr 7, 2024
2 parents 47ef2e6 + de29d95 commit 6f7ea9d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions view_user_page.php
Expand Up @@ -56,10 +56,13 @@

auth_ensure_user_authenticated();

# extracts the user information for the currently logged in user
# and prefixes it with u_
# extracts the user information and prefixes it with u_
$f_user_id = gpc_get_int( 'id', auth_get_current_user_id() );
$t_row = user_get_row( $f_user_id );
if( !$t_row ) {
error_parameters( $f_user_id );
trigger_error( ERROR_USER_BY_ID_NOT_FOUND, ERROR );
}

extract( $t_row, EXTR_PREFIX_ALL, 'u' );

Expand Down

0 comments on commit 6f7ea9d

Please sign in to comment.