Skip to content

Commit

Permalink
Replace remaining calls of str_pad by utf8_str_pad
Browse files Browse the repository at this point in the history
Fixes #20042
  • Loading branch information
atrol committed Aug 23, 2015
1 parent ad2d637 commit 8685c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/email_api.php
Expand Up @@ -1351,7 +1351,7 @@ function email_format_bug_message( array $p_visible_bug_data ) {

if( isset( $p_visible_bug_data['relations'] ) ) {
if( $p_visible_bug_data['relations'] != '' ) {
$t_message .= $t_email_separator1 . "\n" . str_pad( lang_get( 'bug_relationships' ), 20 ) . str_pad( lang_get( 'id' ), 8 ) . lang_get( 'summary' ) . "\n" . $t_email_separator2 . "\n" . $p_visible_bug_data['relations'];
$t_message .= $t_email_separator1 . "\n" . utf8_str_pad( lang_get( 'bug_relationships' ), 20 ) . utf8_str_pad( lang_get( 'id' ), 8 ) . lang_get( 'summary' ) . "\n" . $t_email_separator2 . "\n" . $p_visible_bug_data['relations'];
}
}

Expand Down

0 comments on commit 8685c3c

Please sign in to comment.