Skip to content

Commit

Permalink
Remove extra space in <a> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed May 31, 2019
1 parent e5a8ca4 commit 1ef47af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/prepare_api.php
Expand Up @@ -85,7 +85,7 @@ function prepare_user_name( $p_user_id, $p_link = true ) {

if( user_exists( $p_user_id ) && user_get_field( $p_user_id, 'enabled' ) ) {
if( $p_link ) {
return '<a ' . $t_tooltip . ' href="' . string_sanitize_url( 'view_user_page.php?id=' . $p_user_id, true ) . '">' . $t_name . '</a>';
return '<a' . $t_tooltip . ' href="' . string_sanitize_url( 'view_user_page.php?id=' . $p_user_id, true ) . '">' . $t_name . '</a>';
} else {
return '<span ' . $t_tooltip . '>' . $t_name . '</span>';
}
Expand Down

0 comments on commit 1ef47af

Please sign in to comment.