Skip to content

Commit 8a78287

Browse files
committed
Fix PHP Notice: Undefined property: WPUM_Emails::$user_login
1 parent 1a6aa6c commit 8a78287

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ function wpum_send_registration_confirmation_email( $user_id, $psw = false, $pas
421421

422422
$emails = new WPUM_Emails();
423423
$emails->__set( 'user_id', $user_id );
424+
$emails->__set( 'user_login', $user->user_login );
424425
$emails->__set( 'heading', $registration_confirmation_email['title'] );
425426

426427
if ( ! empty( $psw ) ) {

0 commit comments

Comments
 (0)