Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 1c3b7408bb86172784aeef4037b76e0507a20f59 1 parent 260c495
@dregad dregad authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/email_api.php
View
2  core/email_api.php
@@ -517,7 +517,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();
Please sign in to comment.
Something went wrong with that request. Please try again.