Permalink
Browse files

Issue #15893: format user id consistently with other log messages

  • Loading branch information...
1 parent 940c53c commit f54a1910d016d57b125ed4786f07b1bfbd896cbb @dregad dregad committed May 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/email_api.php
View
@@ -496,7 +496,7 @@ function email_send_confirm_hash_url( $p_user_id, $p_confirm_hash ) {
# or else users won't be able to receive their reset pws
if( !is_blank( $t_email ) ) {
email_store( $t_email, $t_subject, $t_message );
- log_event( LOG_EMAIL, sprintf( 'Password reset for user %s sent to %s', $p_user_id, $t_email ) );
+ log_event( LOG_EMAIL, sprintf( 'Password reset for user @U%d sent to %s', $p_user_id, $t_email ) );
if( OFF == config_get( 'email_send_using_cronjob' ) ) {
email_send_all();

0 comments on commit f54a191

Please sign in to comment.