| @@ -742,9 +742,9 @@ | ||
| 742 | 742 | 'user_login' |
| 743 | 743 | ) . ' )'; |
| 744 | 744 | |
| 745 | 745 | add_filter( 'wp_mail_content_type', 'wpforo_set_html_content_type', 999 ); |
| 746 | - if( @wpforo_send_email( $admin_email, $sbj, $msg, wpforo_admin_mail_headers() ) ) { | |
| 746 | + if( @wpforo_send_email( $admin_email, $sbj, $msg, wpforo_admin_mail_headers(), 'approval_request' ) ) { | |
| 747 | 747 | WPF()->notice->add( 'Message has been sent', 'success' ); |
| 748 | 748 | } else { |
| 749 | 749 | WPF()->notice->add( 'Can\'t send report email', 'error' ); |
| 750 | 750 | } |